Ignore:
Timestamp:
Apr 10, 2013 12:52:27 PM (6 years ago)
Author:
stefan
Message:

sync with trunk rev 1940

Location:
stable/1.15/Clp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/1.15/Clp

  • stable/1.15/Clp/examples/piece.cpp

    r1662 r1941  
    203203     // Create nonlinear objective
    204204     int returnCode = model.createPiecewiseLinearCosts(segstart, breakpt, slope);
    205      assert(!returnCode);
     205     if( returnCode != 0 )
     206     {
     207        printf("Unexpected return code %d from model.createPiecewiseLinearCosts()\n", returnCode);
     208        return returnCode;
     209     }
    206210
    207211     // delete
Note: See TracChangeset for help on using the changeset viewer.