Fix MSVC compilation: std::log was not accessible.

This commit is contained in:
Gael Guennebaud 2012-12-20 18:11:49 +01:00
parent 85005ffbd1
commit f450303321

View File

@ -128,6 +128,7 @@ struct significant_decimals_default_impl
static inline int run()
{
using std::ceil;
using std::log;
return cast<RealScalar,int>(ceil(-log(NumTraits<RealScalar>::epsilon())/log(RealScalar(10))));
}
};