Ignore:
Timestamp:
Apr 29, 2011 2:06:50 PM (9 years ago)
Author:
stefan
Message:

apply fixes for compiler warnings send by Alpar Juettner:

  • Every appearance of DBL_MAX was replaced by COIN_DBL_MAX.
  • The unused parameter warnings were resolved by removing their names from the declaration.
  • Finally, I weeded out all the old-style casts from the code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcCutGenerator.cpp

    r1641 r1643  
    533533                    // not feasible -add infeasible cut
    534534                    OsiRowCut rc;
    535                     rc.setLb(DBL_MAX);
     535                    rc.setLb(COIN_DBL_MAX);
    536536                    rc.setUb(0.0);
    537537                    cs.insert(rc);
Note: See TracChangeset for help on using the changeset viewer.