Changeset 5955


Ignore:
Timestamp:
12/05/08 12:19:53 (5 years ago)
Author:
wehart
Message:

Fixes for building with validation.

Location:
pico/trunk/src/milp/pico
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pico/trunk/src/milp/pico/ENHeuristic.cpp

    r5902 r5955  
    864864    const double* x = solObj->getColSolution(); 
    865865    // The following is UGLY, but this is only debugging... 
    866     CoinWarmStartBasis* b = (CoinWarmStartBasis*) solObj->getWarmStart(); 
     866    CoinWarmStartBasis* b = dynamic_cast<CoinWarmStartBasis*>(solObj->getWarmStart()); 
    867867    int i=0; 
    868868    for(; i<solObj->getNumCols(); i++) 
  • pico/trunk/src/milp/pico/mipHeuristic.cpp

    r5835 r5955  
    14361436    const double* x = solObj->getColSolution(); 
    14371437    // The following is UGLY, but this is only debugging... 
    1438     CoinWarmStartBasis* b = (CoinWarmStartBasis*) solObj->getWarmStart(); 
     1438    CoinWarmStartBasis* b = dynamic_cast<CoinWarmStartBasis*>(solObj->getWarmStart()); 
    14391439    int i=0; 
    14401440    for(; i<solObj->getNumCols(); i++) 
Note: See TracChangeset for help on using the changeset viewer.