summaryrefslogtreecommitdiff
path: root/macros/qpipoptmat.sci
diff options
context:
space:
mode:
authorharpreet2016-04-06 10:46:05 +0530
committerharpreet2016-04-06 10:46:05 +0530
commit8484c85784b84cc3a9257f8d8065b3a8a7800628 (patch)
treec508e843855e75529056e06992b7ef43939f52b9 /macros/qpipoptmat.sci
parent7cf9300c2eb4773afa9823cf4a179d43f70001aa (diff)
downloadFOSSEE-Optimization-toolbox-8484c85784b84cc3a9257f8d8065b3a8a7800628.tar.gz
FOSSEE-Optimization-toolbox-8484c85784b84cc3a9257f8d8065b3a8a7800628.tar.bz2
FOSSEE-Optimization-toolbox-8484c85784b84cc3a9257f8d8065b3a8a7800628.zip
qpiopt updated
Diffstat (limited to 'macros/qpipoptmat.sci')
-rw-r--r--macros/qpipoptmat.sci4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/qpipoptmat.sci b/macros/qpipoptmat.sci
index 41ec8e7..5a210a1 100644
--- a/macros/qpipoptmat.sci
+++ b/macros/qpipoptmat.sci
@@ -230,9 +230,9 @@ function [xopt,fopt,exitflag,output,lambda] = qpipoptmat (varargin)
select convstr(param(2*i-1),'l')
case "maxiter" then
- options(2*i) = param(2*i);
+ options(2) = param(2*i);
case "cputime" then
- options(2*i) = param(2*i);
+ options(4) = param(2*i);
else
errmsg = msprintf(gettext("%s: Unrecognized parameter name ''%s''."), "lsqlin", param(2*i-1));
error(errmsg)