Ignore:
Timestamp:
Sep 24, 2009 4:48:01 PM (10 years ago)
Author:
forrest
Message:

minor changes

File:
1 edited

Legend:

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

    r1429 r1434  
    13981398        // which will change basic solution
    13991399        if (nswapped) {
    1400           factorization_->updateColumn(rowArray_[3],rowArray_[2]);
    1401           dualRowPivot_->updatePrimalSolution(rowArray_[2],
    1402                                               1.0,objectiveChange);
     1400          if (rowArray_[2]->getNumElements()) {
     1401            factorization_->updateColumn(rowArray_[3],rowArray_[2]);
     1402            dualRowPivot_->updatePrimalSolution(rowArray_[2],
     1403                                                1.0,objectiveChange);
     1404          }
    14031405          // recompute dualOut_
    14041406          valueOut_ = solution_[sequenceOut_];
Note: See TracChangeset for help on using the changeset viewer.