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/decompose.cpp

    r778 r1276  
    340340            if (fabs(value)>1.0e-15) {
    341341              dj -= dual[i]*value;
    342               smallest = min(smallest,fabs(value));
    343               largest = max(largest,fabs(value));
     342              smallest = CoinMin(smallest,fabs(value));
     343              largest = CoinMax(largest,fabs(value));
    344344              rowAdd[number]=i;
    345345              elementAdd[number++]=value;
     
    376376            if (fabs(value)>1.0e-15) {
    377377              dj -= dual[i]*value;
    378               smallest = min(smallest,fabs(value));
    379               largest = max(largest,fabs(value));
     378              smallest = CoinMin(smallest,fabs(value));
     379              largest = CoinMax(largest,fabs(value));
    380380              rowAdd[number]=i;
    381381              elementAdd[number++]=value;
Note: See TracChangeset for help on using the changeset viewer.