Changeset 1314 for trunk


Ignore:
Timestamp:
Dec 18, 2008 11:35:51 AM (11 years ago)
Author:
forrest
Message:

fix bug which has cropped up in addRows example

File:
1 edited

Legend:

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

    r1312 r1314  
    16251625    }
    16261626#endif
    1627     if (rowStarts)
     1627    if (rowStarts) {
     1628      // Make sure matrix has correct number of columns
     1629      matrix_->getPackedMatrix()->reserve(numberColumns_,0,true);
    16281630      matrix_->appendMatrix(number,0,rowStarts,columns,elements);
     1631    }
    16291632  }
    16301633}
Note: See TracChangeset for help on using the changeset viewer.