Fix template version of Invalid.
authoralpar
Wed, 07 Dec 2005 15:39:48 +0000
changeset 1853dd0b47adc152
parent 1852 ffa7c6e96330
child 1854 a68d4f93b1fb
Fix template version of Invalid.
lemon/base.cc
     1.1 --- a/lemon/base.cc	Wed Dec 07 11:57:30 2005 +0000
     1.2 +++ b/lemon/base.cc	Wed Dec 07 15:39:48 2005 +0000
     1.3 @@ -24,6 +24,8 @@
     1.4    double Tolerance<double>::def_epsilon = 1e-10;
     1.5    float Tolerance<float>::def_epsilon = 1e-4;
     1.6  
     1.7 +#ifndef LEMON_ONLY_TEMPLATES
     1.8    const Invalid INVALID = Invalid();
     1.9 +#endif
    1.10  
    1.11  } //namespace lemon