Ignore:
Timestamp:
Apr 8, 2013 3:16:07 PM (7 years ago)
Author:
stefan
Message:

fix compiler warnings; fix path to sample instance in minimum

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/examples/piece.cpp

    r1662 r1935  
    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.