From 510c618b96122b2c211ebd336e984b434933bf06 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Tue, 30 Nov 2010 03:35:15 +0000 Subject: [PATCH] gcc2 don't like INFINITY. Fix the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39682 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/libs/linprog/Constraint.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/headers/libs/linprog/Constraint.h b/headers/libs/linprog/Constraint.h index d011eb7f6e..1a4a9171c8 100644 --- a/headers/libs/linprog/Constraint.h +++ b/headers/libs/linprog/Constraint.h @@ -73,9 +73,8 @@ public: protected: Constraint(LinearSpec* ls, SummandList* summands, OperatorType op, - double rightSide, - double penaltyNeg = INFINITY, - double penaltyPos = INFINITY); + double rightSide, double penaltyNeg, + double penaltyPos); private: LinearSpec* fLS;