For the sake of cygwin...
authoralpar
Fri, 29 Apr 2005 08:21:03 +0000
changeset 139730828157ae80
parent 1396 56f9a4ba9149
child 1398 2f21cc34a245
For the sake of cygwin...
src/lemon/lp_base.h
     1.1 --- a/src/lemon/lp_base.h	Thu Apr 28 09:54:38 2005 +0000
     1.2 +++ b/src/lemon/lp_base.h	Fri Apr 29 08:21:03 2005 +0000
     1.3 @@ -20,7 +20,7 @@
     1.4  #include<vector>
     1.5  #include<map>
     1.6  #include<limits>
     1.7 -#include<math.h>
     1.8 +#include<cmath>
     1.9  
    1.10  #include<lemon/utility.h>
    1.11  #include<lemon/error.h>
    1.12 @@ -401,12 +401,12 @@
    1.13        ///Is the constraint lower bounded?
    1.14        bool lowerBounded() const { 
    1.15  	using namespace std;
    1.16 -	return isfinite(_lb);
    1.17 +	return finite(_lb);
    1.18        }
    1.19        ///Is the constraint upper bounded?
    1.20        bool upperBounded() const {
    1.21  	using namespace std;
    1.22 -	return isfinite(_ub);
    1.23 +	return finite(_ub);
    1.24        }
    1.25      };
    1.26