Changeset 2198 for trunk/Cbc


Ignore:
Timestamp:
Jun 4, 2015 12:38:31 PM (4 years ago)
Author:
unxusr
Message:

remove assert not needed anymore

File:
1 edited

Legend:

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

    r2192 r2198  
    73177317            cutsToDrop = new int[currentNumberCuts] ;
    73187318            assert (currentNumberCuts + numberRowsAtContinuous_ <= lastws->getNumArtificial());
    7319             assert (currentNumberCuts <= maximumWhich_); // we will read from whichGenerator_[0..currentNumberCuts-1] below, so should have all these entries
    7320             // the above assert fails in certain situations, which indicates a bug in the code below
    7321             // as a workaround, resize whichGenerator_ to make sure we can read all entries without an invalid read from valgrind (and subsequent crash somewhere, seems so)
    73227319            resizeWhichGenerator(maximumWhich_, currentNumberCuts);
    73237320            for (i = 0; i < currentNumberCuts; i++) {
Note: See TracChangeset for help on using the changeset viewer.