Ignore:
Timestamp:
Jun 28, 2012 6:27:20 AM (8 years ago)
Author:
forrest
Message:

do a better job of checking for gaps (and change a message)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.14/Clp/src/ClpPackedMatrix.cpp

    r1753 r1864  
    40784078                         printf("Out of range %d %lld %d %g\n", iColumn, j, row[j], elementByColumn[j]);
    40794079#endif
     4080                         delete [] mark;
    40804081                         return false;
    40814082                    }
     
    48264827          if (matrix_->isColOrdered() && numberOther > matrix_->getNumCols())
    48274828               matrix_->setDimensions(-1, numberOther);
    4828           if (!matrix_->isColOrdered() || numberOther >= 0 || matrix_->getExtraGap()) {
     4829          if (!matrix_->isColOrdered() || numberOther >= 0 || matrix_->getExtraGap() || matrix_->hasGaps()) {
    48294830               numberErrors = matrix_->appendRows(number, starts, index, element, numberOther);
    48304831          } else {
Note: See TracChangeset for help on using the changeset viewer.