Changeset 1068 for branches


Ignore:
Timestamp:
Aug 9, 2007 11:58:05 AM (12 years ago)
Author:
jpfasano
Message:

Modified to remove MS Compiler message

warning C4800: 'double'/'int' : forcing value to bool 'true' or 'false' (performance warning)

Location:
branches/BSP/trunk/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/BSP/trunk/Clp/src/ClpSimplexPrimal.cpp

    r1057 r1068  
    12031203        lastCleaned=-1; // carry on
    12041204      }
    1205       bool unflagged = unflag();
     1205      bool unflagged = (unflag()!=0);
    12061206      if ( lastCleaned!=numberIterations_||unflagged) {
    12071207        handler_->message(CLP_PRIMAL_OPTIMAL,messages_)
  • branches/BSP/trunk/Clp/src/ClpSolve.cpp

    r1060 r1068  
    22942294  handler_->printing(presolve==ClpSolve::presolveOn)
    22952295    <<timePresolve;
    2296   handler_->printing(timeIdiot)
     2296  handler_->printing(timeIdiot!=0.0)
    22972297    <<timeIdiot;
    22982298  handler_->message()<<CoinMessageEol;
Note: See TracChangeset for help on using the changeset viewer.