Changeset 1893


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

may help segfault in non-deterministic parallel cbc

File:
1 edited

Legend:

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

    r1886 r1893  
    11271127            if (thisModel->parallelMode() >= 0) {
    11281128                CbcNode * node = stuff->node();
    1129                 assert (node->nodeInfo());
     1129                //assert (node->nodeInfo());
    11301130                CbcNode * createdNode = stuff->createdNode();
    1131                 thisModel->doOneNode(baseModel, node, createdNode);
     1131                // try and see if this has slipped through
     1132                if (node) {
     1133                  thisModel->doOneNode(baseModel, node, createdNode);
     1134                } else {
     1135                  //printf("null node\n");
     1136                  createdNode=NULL;
     1137                }
    11321138                stuff->setNode(node);
    11331139                stuff->setCreatedNode(createdNode);
Note: See TracChangeset for help on using the changeset viewer.