Changeset 2323


Ignore:
Timestamp:
Jan 12, 2017 7:43:59 AM (17 months ago)
Author:
forrest
Message:

change assert to <=

File:
1 edited

Legend:

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

    r2308 r2323  
    26092609#ifndef NDEBUG
    26102610                double value = newSolution[iColumn];
    2611                 assert (fabs(floor(value + 0.5) - value) < integerTolerance);
     2611                assert (fabs(floor(value + 0.5) - value) <= integerTolerance);
    26122612#endif
    26132613                double cost = direction * objective[iColumn];
Note: See TracChangeset for help on using the changeset viewer.