Changeset 1881 for trunk/Clp


Ignore:
Timestamp:
Sep 24, 2012 6:00:51 PM (7 years ago)
Author:
lou
Message:

Replace exp10(y) with pow(10.0,y) so we don't have to fiddle with sunmath.h on
Solaris/Studio?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSolve.cpp

    r1879 r1881  
    17141714                             info.setStartingWeight(1.0e4);
    17151715                           }
    1716                            double ratio=1.0/exp10(1.0/reductions);
     1716                           double ratio=1.0/std::pow(10.0,(1.0/reductions));
    17171717                           printf("%d passes reduction factor %g\n",nPasses,ratio);
    17181718                           info.setWeightFactor(ratio);
Note: See TracChangeset for help on using the changeset viewer.