Changeset 578 for trunk/ClpPresolve.cpp


Ignore:
Timestamp:
Mar 31, 2005 4:02:50 PM (15 years ago)
Author:
forrest
Message:

bug if no status array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpPresolve.cpp

    r566 r578  
    164164    if (updateStatus) {
    165165      unsigned char *status = originalModel_->statusArray();
     166      if (!status) {
     167        originalModel_->createStatus();
     168        status = originalModel_->statusArray();
     169      }
    166170      rowstat = status + ncols0;
    167171      colstat = status;
Note: See TracChangeset for help on using the changeset viewer.