equal
deleted
inserted
replaced
21 |
21 |
22 #include<lemon/tolerance.h> |
22 #include<lemon/tolerance.h> |
23 #include<lemon/core.h> |
23 #include<lemon/core.h> |
24 namespace lemon { |
24 namespace lemon { |
25 |
25 |
26 float Tolerance<float>::def_epsilon = 1e-4; |
26 float Tolerance<float>::def_epsilon = static_cast<float>(1e-4); |
27 double Tolerance<double>::def_epsilon = 1e-10; |
27 double Tolerance<double>::def_epsilon = 1e-10; |
28 long double Tolerance<long double>::def_epsilon = 1e-14; |
28 long double Tolerance<long double>::def_epsilon = 1e-14; |
29 |
29 |
30 #ifndef LEMON_ONLY_TEMPLATES |
30 #ifndef LEMON_ONLY_TEMPLATES |
31 const Invalid INVALID = Invalid(); |
31 const Invalid INVALID = Invalid(); |