Changeset 1167


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

bandaid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPrimalColumnSteepest.cpp

    r1141 r1167  
    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.