summaryrefslogtreecommitdiff
path: root/tests/general_tests/qpipoptmat/qpipoptmat_param1.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/qpipoptmat/qpipoptmat_param1.sce')
-rw-r--r--tests/general_tests/qpipoptmat/qpipoptmat_param1.sce5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/general_tests/qpipoptmat/qpipoptmat_param1.sce b/tests/general_tests/qpipoptmat/qpipoptmat_param1.sce
index ba3915e..6ae5345 100644
--- a/tests/general_tests/qpipoptmat/qpipoptmat_param1.sce
+++ b/tests/general_tests/qpipoptmat/qpipoptmat_param1.sce
@@ -14,9 +14,12 @@ x0 = repmat(0,6,1);
param = list("MaxIter", 300, 100);
f=[1; 2; 3; 4; 5; 6]; H=eye(6,6);
x0 = repmat(0,6,1);
-[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,[],param)
// Error
//qpipoptmat: Size of parameters should be even
//at line 153 of function qpipoptmat called by :
//[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,[],param)
+
+[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,[],param);
+
+