Fix ALM tests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38751 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,6 +3,8 @@ SubDir HAIKU_TOP src tests libs alm ;
|
|||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
UseLibraryHeaders lp_solve linprog alm ;
|
UseLibraryHeaders lp_solve linprog alm ;
|
||||||
|
UsePrivateHeaders shared ;
|
||||||
|
|
||||||
|
|
||||||
Application ALMHelloWorld :
|
Application ALMHelloWorld :
|
||||||
HelloWorld.cpp
|
HelloWorld.cpp
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ public:
|
|||||||
|
|
||||||
// add a constraint: 2*x1 == right
|
// add a constraint: 2*x1 == right
|
||||||
// i.e. x1 is in the middle of the layout
|
// 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);
|
OperatorType(EQ), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user