Changeset 1166


Ignore:
Timestamp:
Feb 15, 2008 2:46:40 PM (12 years ago)
Author:
forrest
Message:

add bandaid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.6/Clp/src/ClpPrimalColumnSteepest.cpp

    r1034 r1166  
    27972797          model_->factorization()->maximumPivots()) {
    27982798        alternateWeights_->clear();
    2799         if (pivotSequence_>=0) {
     2799        if (pivotSequence_>=0&&pivotSequence_<numberRows) {
    28002800          // save pivot order
    28012801          CoinMemcpyN(pivotVariable,
     
    28032803          // change from pivot row number to sequence number
    28042804          pivotSequence_=pivotVariable[pivotSequence_];
     2805        } else {
     2806          pivotSequence_ = -1;
    28052807        }
    28062808        state_=1;
Note: See TracChangeset for help on using the changeset viewer.