Fix ALM tests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38751 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b3b7b663e0
commit
6c0294819a
@ -3,6 +3,8 @@ SubDir HAIKU_TOP src tests libs alm ;
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
UseLibraryHeaders lp_solve linprog alm ;
|
||||
UsePrivateHeaders shared ;
|
||||
|
||||
|
||||
Application ALMHelloWorld :
|
||||
HelloWorld.cpp
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user