Ignore:
Timestamp:
Apr 9, 2013 6:32:15 AM (7 years ago)
Author:
forrest
Message:

fixes so sprint will work on unsuitable problems and testGub have no memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/examples/sprint.cpp

    r1662 r1937  
    121121     int smallNumberColumns = CoinMin(3 * numberRows, numberColumns);
    122122     smallNumberColumns = CoinMax(smallNumberColumns, 3000);
     123     // To stop seg faults on unsuitable problems
     124     smallNumberColumns = CoinMin(smallNumberColumns,numberColumns);
    123125     // We will be using all rows
    124126     int * whichRows = new int [numberRows];
Note: See TracChangeset for help on using the changeset viewer.