Changeset 2324


Ignore:
Timestamp:
Jan 12, 2017 7:52:49 AM (12 months ago)
Author:
forrest
Message:

change assert to <=

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.9/Cbc/src/CbcHeuristic.cpp

    r2162 r2324  
    25262526#ifndef NDEBUG
    25272527                double value = newSolution[iColumn];
    2528                 assert (fabs(floor(value + 0.5) - value) < integerTolerance);
     2528                assert (fabs(floor(value + 0.5) - value) <= integerTolerance);
    25292529#endif
    25302530                double cost = direction * objective[iColumn];
Note: See TracChangeset for help on using the changeset viewer.