lemon/base.cc
branch1.0
changeset 387 a441f68fc073
parent 220 a5d8c039f218
child 427 c59bdcc8e33e
equal deleted inserted replaced
4:099eac78fe09 5:eabe3cbc93eb
    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();