Fix ALM tests.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38751 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2010-09-20 22:48:49 +00:00
parent b3b7b663e0
commit 6c0294819a
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@ SubDir HAIKU_TOP src tests libs alm ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UseLibraryHeaders lp_solve linprog alm ;
UsePrivateHeaders shared ;
Application ALMHelloWorld :
HelloWorld.cpp

View File

@ -35,7 +35,7 @@ public:
// add a constraint: 2*x1 == right
// i.e. x1 is in the middle of the layout
layout->AddConstraint(2, x1, -1, layout->Right(),
layout->Solver()->AddConstraint(2, x1, -1, layout->Right(),
OperatorType(EQ), 0);
}