Ignore:
Timestamp:
Dec 31, 2014 8:59:21 AM (4 years ago)
Author:
forrest
Message:

fix assert

File:
1 edited

Legend:

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

    r2097 r2104  
    85278527            if (numberToAdd > 0) {
    85288528                int i ;
    8529                 int * whichGenerator = whichGenerator_-
     8529                int * whichGenerator = whichGenerator_ -
    85308530                  numberRowsAtContinuous_+solver_->getNumRows();
    85318531                // Faster to add all at once
     
    99919991                    oldCutIndex++ ;
    99929992                } else {
    9993                     whichGenerator_[kCut++] = whichGenerator_[oldCutIndex] ;
     9993                    int iGenerator = addedCuts_[oldCutIndex]->whichCutGenerator();
     9994                    if (iGenerator==-1)
     9995                      iGenerator=100;
     9996                    whichGenerator_[kCut++] = iGenerator ;
    99949997                    oldCutIndex++;
    99959998                }
Note: See TracChangeset for help on using the changeset viewer.