Changeset 2186


Ignore:
Timestamp:
Dec 18, 2015 6:30:01 AM (4 years ago)
Author:
forrest
Message:

memory overflow on small problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPresolve.cpp

    r2177 r2186  
    16611661     bulk0_ = static_cast<CoinBigIndex> (bulkRatio_ *
    16621662                                         CoinMax(nelems_in,nelems_));
    1663      hrow_  = new int   [bulk0_];
    1664      colels_ = new double[bulk0_];
     1663     // allow for temporary overflow
     1664     hrow_  = new int   [bulk0_+ncols_in];
     1665     colels_ = new double[bulk0_+ncols_in];
    16651666     si->getDblParam(ClpObjOffset, originalOffset_);
    16661667     int ncols = si->getNumCols();
Note: See TracChangeset for help on using the changeset viewer.