mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
double precision() : change to 1e-12 instead of 1e-11 (as discussed several times on the list)
This commit is contained in:
parent
fc9000f23e
commit
5eabf2b75d
@ -151,7 +151,7 @@ inline bool ei_isApproxOrLessThan(float a, float b, float prec = precision<float
|
|||||||
*** double ***
|
*** 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; }
|
template<> inline double machine_epsilon<double>() { return 2.220e-16; }
|
||||||
|
|
||||||
inline double ei_real(double x) { return x; }
|
inline double ei_real(double x) { return x; }
|
||||||
|
Loading…
Reference in New Issue
Block a user