lemon/base.cc
changeset 877 141f9c0db4a3
parent 440 88ed40ad0d4f
child 1054 c40a9d94442d
equal deleted inserted replaced
5:2d0702f97a75 6:9d94ad8505af
    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();