double precision() : change to 1e-12 instead of 1e-11 (as discussed several times on the list)

This commit is contained in:
Benoit Jacob 2009-06-29 00:00:29 +02:00
parent fc9000f23e
commit 5eabf2b75d

View File

@ -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; }