Changeset 514 for branches


Ignore:
Timestamp:
Jan 11, 2007 10:28:42 AM (13 years ago)
Author:
forrest
Message:

fix nullinfo bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcModel.cpp

    r508 r514  
    11041104      printf("zapping CbcNodeInfo %x\n",newNode->nodeInfo()->parent());
    11051105#endif
    1106       newNode->nodeInfo()->nullParent();
     1106      if (newNode->nodeInfo())
     1107        newNode->nodeInfo()->nullParent();
    11071108    }
    11081109    delete newNode ;
     
    16851686#endif
    16861687            // zap parent nodeInfo
    1687             newNode->nodeInfo()->nullParent();
     1688            if (newNode->nodeInfo())
     1689              newNode->nodeInfo()->nullParent();
    16881690          }
    16891691        }
     
    85338535      printf("zapping3 CbcNodeInfo %x\n",newNode->nodeInfo()->parent());
    85348536#endif
    8535       newNode->nodeInfo()->nullParent();
     8537      if (newNode->nodeInfo())
     8538        newNode->nodeInfo()->nullParent();
    85368539    }
    85378540  }
Note: See TracChangeset for help on using the changeset viewer.