diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-12-20 18:11:49 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-12-20 18:11:49 +0100 |
commit | f450303321c4d37d908d5d9e6fcf480f27bf53e3 (patch) | |
tree | 9fbd49aeb374063eaf2846c5d286168b0cc5b295 /Eigen/src/Core/IO.h | |
parent | 85005ffbd12625bfe24d6e486a4a5c20633ca9db (diff) |
Fix MSVC compilation: std::log was not accessible.
Diffstat (limited to 'Eigen/src/Core/IO.h')
-rw-r--r-- | Eigen/src/Core/IO.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/IO.h b/Eigen/src/Core/IO.h index 78a83b722..50bf93d9f 100644 --- a/Eigen/src/Core/IO.h +++ b/Eigen/src/Core/IO.h @@ -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)))); } }; |