branch | 1.0 |
changeset 357 | 2b6a20528f35 |
parent 220 | a5d8c039f218 |
child 427 | c59bdcc8e33e |
1.1 --- a/lemon/base.cc Wed Jan 21 18:17:28 2009 +0000 1.2 +++ b/lemon/base.cc Thu Jan 22 15:15:51 2009 +0000 1.3 @@ -23,7 +23,7 @@ 1.4 #include<lemon/core.h> 1.5 namespace lemon { 1.6 1.7 - float Tolerance<float>::def_epsilon = 1e-4; 1.8 + float Tolerance<float>::def_epsilon = static_cast<float>(1e-4); 1.9 double Tolerance<double>::def_epsilon = 1e-10; 1.10 long double Tolerance<long double>::def_epsilon = 1e-14; 1.11