Changeset 1406 for stable


Ignore:
Timestamp:
Jul 30, 2009 10:39:52 AM (10 years ago)
Author:
forrest
Message:

fix for ray

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.10/Clp/src/ClpSimplexDual.cpp

    r1404 r1406  
    16711671          //&&goodAccuracy()) {
    16721672          // If not in branch and bound etc save ray
     1673          delete [] ray_;
    16731674          if ((specialOptions_&(1024|4096))==0) {
    16741675            // create ray anyway
    1675             delete [] ray_;
    16761676            ray_ = new double [ numberRows_];
    16771677            rowArray_[0]->expand(); // in case packed
    16781678            CoinMemcpyN(rowArray_[0]->denseVector(),numberRows_,ray_);
    1679           }
     1679          } else {
     1680            ray_ = NULL;
     1681          }
    16801682          // If we have just factorized and infeasibility reasonable say infeas
    16811683          if (((specialOptions_&4096)!=0||bestPossiblePivot<1.0e-11)&&dualBound_>1.0e8) {
Note: See TracChangeset for help on using the changeset viewer.