[Lemon-commits] [lemon_svn] alpar: r1857 - hugo/trunk/src/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:48:14 CET 2006


Author: alpar
Date: Fri Apr 29 10:21:03 2005
New Revision: 1857

Modified:
   hugo/trunk/src/lemon/lp_base.h

Log:
For the sake of cygwin...

Modified: hugo/trunk/src/lemon/lp_base.h
==============================================================================
--- hugo/trunk/src/lemon/lp_base.h	(original)
+++ hugo/trunk/src/lemon/lp_base.h	Fri Apr 29 10:21:03 2005
@@ -20,7 +20,7 @@
 #include<vector>
 #include<map>
 #include<limits>
-#include<math.h>
+#include<cmath>
 
 #include<lemon/utility.h>
 #include<lemon/error.h>
@@ -401,12 +401,12 @@
       ///Is the constraint lower bounded?
       bool lowerBounded() const { 
 	using namespace std;
-	return isfinite(_lb);
+	return finite(_lb);
       }
       ///Is the constraint upper bounded?
       bool upperBounded() const {
 	using namespace std;
-	return isfinite(_ub);
+	return finite(_ub);
       }
     };
     



More information about the Lemon-commits mailing list