Changeset 275


Ignore:
Timestamp:
Mar 16, 2006 1:43:54 PM (14 years ago)
Author:
lou
Message:

Fix compile error when CBC_DEBUG is defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CbcTreeLocal.cpp

    r197 r275  
    336336  int n=nodes_.size();
    337337  for (int i=0;i<n;i++) {
    338     int nn=nodes_[i]->nodeNumber();
     338    int nn=nodes_[i]->nodeInfo()->nodeNumber();
    339339    double dd = nodes_[i]->objectiveValue();
    340340    largest=max(largest,nn);
     
    343343    smallestD=min(smallestD,dd);
    344344  }
    345   printf("smallest %d, largest %d, top %d\n",smallest,largest,nodes_.front()->nodeNumber());
     345  printf("smallest %d, largest %d, top %d\n",smallest,largest,
     346         nodes_.front()->nodeInfo()->nodeNumber());
    346347  printf("smallestD %g, largestD %g, top %g\n",smallestD,largestD,nodes_.front()->objectiveValue());
    347348#endif
     
    373374  nodes_.push_back(x);
    374375#ifdef CBC_DEBUG
    375   printf("pushing node onto heap %d %x %x\n",x->nodeNumber(),x,x->nodeInfo());
     376  printf("pushing node onto heap %d %x %x\n",
     377         x->nodeInfo()->nodeNumber(),x,x->nodeInfo());
    376378#endif
    377379  push_heap(nodes_.begin(), nodes_.end(), comparison_);
Note: See TracChangeset for help on using the changeset viewer.