Ignore:
Timestamp:
May 15, 2013 4:58:19 AM (6 years ago)
Author:
forrest
Message:

llow mor adding columns without elements

File:
1 edited

Legend:

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

    r1928 r1957  
    49114911          if (!matrix_->isColOrdered() && numberOther > matrix_->getNumRows())
    49124912               matrix_->setDimensions(numberOther, -1);
    4913           numberErrors = matrix_->appendCols(number, starts, index, element, numberOther);
     4913          if (element)
     4914            numberErrors = matrix_->appendCols(number, starts, index, element, numberOther);
     4915          else
     4916            matrix_->setDimensions(-1,matrix_->getNumCols()+number); // resize
    49144917     }
    49154918     clearCopies();
Note: See TracChangeset for help on using the changeset viewer.