Ignore:
Timestamp:
Dec 24, 2003 11:16:07 AM (16 years ago)
Author:
jpfasano
Message:

Modified to compile with MS Visual Studio Version 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpHelperFunctions.cpp

    r275 r284  
    1919  double maxValue=0.0;
    2020  for (i=0;i<size;i++)
    21     maxValue = std::max(maxValue,fabs(region[i]));
     21    maxValue = CoinMax(maxValue,fabs(region[i]));
    2222  return maxValue;
    2323}
     
    108108  for (i=0;i<size;i++) {
    109109    norm2 += region[i]*region[i];
    110     norm1 = std::max(norm1,fabs(region[i]));
     110    norm1 = CoinMax(norm1,fabs(region[i]));
    111111  }
    112112}
Note: See TracChangeset for help on using the changeset viewer.