Changeset 2201
- Timestamp:
- Jun 23, 2015 9:22:42 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cbc/src/CbcModel.cpp
r2200 r2201 7326 7326 cutsToDrop = new int[currentNumberCuts] ; 7327 7327 assert (currentNumberCuts + numberRowsAtContinuous_ <= lastws->getNumArtificial()); 7328 #undef NDEBUG7329 7328 assert (currentNumberCuts <= maximumWhich_); // we will read from whichGenerator_[0..currentNumberCuts-1] below, so should have all these entries 7330 // the above assert fails in certain situations, which indicates a bug in the code below7331 // 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)7332 resizeWhichGenerator(maximumWhich_, currentNumberCuts);7333 7329 for (i = 0; i < currentNumberCuts; i++) { 7334 7330 CoinWarmStartBasis::Status status =
Note: See TracChangeset
for help on using the changeset viewer.