diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-29 00:00:29 +0200 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-29 00:00:29 +0200 |
commit | 5eabf2b75da885d8e0134e0c02f9b5f5f7dfa8c0 (patch) | |
tree | 144e1e07369549287e55c708c4bdbb601126c17d | |
parent | fc9000f23ed5d9c902e2153a5008d9a24adf930c (diff) |
double precision() : change to 1e-12 instead of 1e-11 (as discussed several times on the list)
-rw-r--r-- | Eigen/src/Core/MathFunctions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MathFunctions.h b/Eigen/src/Core/MathFunctions.h index 8cb1f7b40..3527042f9 100644 --- a/Eigen/src/Core/MathFunctions.h +++ b/Eigen/src/Core/MathFunctions.h @@ -151,7 +151,7 @@ inline bool ei_isApproxOrLessThan(float a, float b, float prec = precision<float *** double *** **************/ -template<> inline double precision<double>() { return 1e-11; } +template<> inline double precision<double>() { return 1e-12; } template<> inline double machine_epsilon<double>() { return 2.220e-16; } inline double ei_real(double x) { return x; } |