Ignore:
Timestamp:
Mar 22, 2013 10:24:12 AM (7 years ago)
Author:
forrest
Message:

fix bug in parallel

File:
1 edited

Legend:

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

    r1839 r1877  
    288288      hash_[i] = rhs.hash_[i];
    289289    }
    290     for (int i=0;i<size_;i++) {
     290    for (int i=0;i<numberCuts_;i++) {
    291291      if (rhs.rowCut_[i])
    292292        rowCut_[i]=new OsiRowCut2(*rhs.rowCut_[i]);
     
    318318        hash_[i] = rhs.hash_[i];
    319319      }
    320       for (int i=0;i<size_;i++) {
     320      for (int i=0;i<numberCuts_;i++) {
    321321        if (rhs.rowCut_[i])
    322322          rowCut_[i]=new OsiRowCut2(*rhs.rowCut_[i]);
Note: See TracChangeset for help on using the changeset viewer.