Changeset 1207


Ignore:
Timestamp:
May 28, 2008 7:07:24 AM (12 years ago)
Author:
forrest
Message:

fix initialSolve bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.7/Clp/src/ClpSimplex.cpp

    r1174 r1207  
    95399539  secondaryStatus_ = rhs. secondaryStatus_;
    95409540  if (numberRows_ == rhs.numberRows_ && numberColumns_ == rhs.numberColumns_&& !justStatus) {
    9541     delete [] status_;
    95429541    if (rhs.status_) {
    9543       status_ = CoinCopyOfArray(rhs.status_,numberRows_+numberColumns_);
     9542      if (status_)
     9543        CoinMemcpyN(rhs.status_,numberRows_+numberColumns_,status_);
     9544      else
     9545        status_ = CoinCopyOfArray(rhs.status_,numberRows_+numberColumns_);
    95449546    } else {
     9547      delete [] status_;
    95459548      status_ = NULL;
    95469549    }
Note: See TracChangeset for help on using the changeset viewer.