Ignore:
Timestamp:
Sep 16, 2008 5:31:36 PM (12 years ago)
Author:
ladanyi
Message:

changed max/min to CoinMax/CoinMin?

File:
1 edited

Legend:

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

    r1171 r1276  
    232232    ir[nonzpt++] = *ifrom;
    233233    ir[nonzpt++] = *ito;
    234     imax = max(imax, *ifrom);
    235     imax = max(imax, *ito);
    236     imin = min(imin, *ifrom);
    237     imin = min(imin, *ito);
     234    imax = CoinMax(imax, *ifrom);
     235    imax = CoinMax(imax, *ito);
     236    imin = CoinMin(imin, *ifrom);
     237    imin = CoinMin(imin, *ito);
    238238  }
    239239  fclose(fpData);
     
    294294  model.dj_=dj;
    295295  model.xsize_ = 50/ncol;
    296   model.xsize_ = min(model.xsize_, 1.0);
     296  model.xsize_ = CoinMin(model.xsize_, 1.0);
    297297  model.zsize_ = 1;
    298298}
Note: See TracChangeset for help on using the changeset viewer.