Changeset 1403 for trunk/Clp


Ignore:
Timestamp:
Jul 27, 2009 4:09:23 AM (10 years ago)
Author:
forrest
Message:

fixing segfault

File:
1 edited

Legend:

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

    r1402 r1403  
    28762876        //model_->setSequenceOut(savedSequenceOut_);
    28772877        pivotSequence_= -1;
    2878         model_->setSequenceOut(-1);
    2879         alternateWeights_->clear();
     2878        model_->setSequenceOut(-1);
     2879        // indices are wrong so clear by hand
     2880        //alternateWeights_->clear();
     2881        CoinZeroN(alternateWeights_->denseVector(),
     2882                  alternateWeights_->capacity());
     2883        alternateWeights_->setNumElements(0);
    28802884      }
    28812885    }
Note: See TracChangeset for help on using the changeset viewer.