From f450303321c4d37d908d5d9e6fcf480f27bf53e3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 20 Dec 2012 18:11:49 +0100 Subject: Fix MSVC compilation: std::log was not accessible. --- Eigen/src/Core/IO.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Eigen/src/Core/IO.h') 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(ceil(-log(NumTraits::epsilon())/log(RealScalar(10)))); } }; -- cgit v1.2.3