mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
Fix MSVC compilation: std::log was not accessible.
This commit is contained in:
parent
85005ffbd1
commit
f450303321
@ -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))));
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user