Ignore:
Timestamp:
Aug 2, 2013 10:26:23 AM (6 years ago)
Author:
forrest
Message:

changes to fix bug on max nodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcModel.cpp

    r1949 r1951  
    68426842      easy way to pass in the size. But we take a hit for memory allocation.
    68436843    */
    6844     lastws->setSize(numberColumns, numberRowsAtContinuous_ + currentNumberCuts);
     6844    if (lastws)
     6845      lastws->setSize(numberColumns, numberRowsAtContinuous_ + currentNumberCuts);
    68456846    currentNumberCuts = 0;
    68466847    while (nNode) {
     
    68506851    }
    68516852#ifndef NDEBUG
    6852     if (!lastws->fullBasis()) {
     6853    if (lastws&&!lastws->fullBasis()) {
    68536854#ifdef COIN_DEVELOP
    68546855        printf("******* bad basis\n");
Note: See TracChangeset for help on using the changeset viewer.