Changeset 1000


Ignore:
Timestamp:
Jul 7, 2008 9:52:15 AM (11 years ago)
Author:
forrest
Message:

test if row number too large

File:
1 edited

Legend:

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

    r952 r1000  
    115115    return true;
    116116  } else if (effectiveness()!=COIN_DBL_MAX) {
     117    if (iRow>=solver->getNumRows())
     118      return true;
    117119    const double * rowActivity = solver->getRowActivity();
    118120    const double * rowLower = solver->getRowLower();
Note: See TracChangeset for help on using the changeset viewer.