summaryrefslogtreecommitdiff
path: root/tests/unit_tests/qpipopt_base.tst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/qpipopt_base.tst')
-rw-r--r--tests/unit_tests/qpipopt_base.tst6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit_tests/qpipopt_base.tst b/tests/unit_tests/qpipopt_base.tst
index ffe546a..5587ddc 100644
--- a/tests/unit_tests/qpipopt_base.tst
+++ b/tests/unit_tests/qpipopt_base.tst
@@ -70,7 +70,7 @@ nbVar = 2;
nbCon = 3;
[xopt,fopt,exitflag,output,lambda] = qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB)
-assert_close ( x , [0.6666667 1.3333333]' , 1.e-7 );
-assert_close ( f , [ - 8.2222223] , 1.e-7 );
+assert_close ( xopt , [0.6666667 1.3333333]' , 1.e-7 );
+assert_close ( fopt , [ - 8.2222223] , 1.e-7 );
-assert_checkequal( exitflag , 0 );
+assert_checkequal( exitflag , int32(0) );