Ignore:
Timestamp:
Apr 6, 2013 4:52:59 PM (7 years ago)
Author:
stefan
Message:

sync with trunk rev 1887

Location:
stable/2.8/Cbc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/2.8/Cbc

  • stable/2.8/Cbc/src/CbcBranchLotsize.cpp

    r1573 r1888  
    183183        bound_[0] = points[sort[0] * 2];
    184184        bound_[1] = points[sort[0] * 2 + 1];
    185         double lo = bound_[0];
    186185        double hi = bound_[1];
    187         assert (hi >= lo);
     186        assert (hi >= bound_[0]);
    188187        for (i = 1; i < numberPoints; i++) {
    189188            double thisLo = points[sort[i] * 2];
     
    194193                bound_[2*numberRanges_+1] = thisHi;
    195194                numberRanges_++;
    196                 lo = thisLo;
    197195                hi = thisHi;
    198196            } else {
Note: See TracChangeset for help on using the changeset viewer.