diff options
Diffstat (limited to 'macros/mps_linprog.sci')
-rw-r--r-- | macros/mps_linprog.sci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/mps_linprog.sci b/macros/mps_linprog.sci index b1be48a..aa61d02 100644 --- a/macros/mps_linprog.sci +++ b/macros/mps_linprog.sci @@ -51,7 +51,7 @@ function [xopt,fopt,exitflag,output,lambda] =mps_linprog(varargin) for i = 1:(size(param))/2 select convstr(param(2*i-1),'l') case "maxiter" then - options(2) = param(2*i); + options(2*i) = param(2*i); else errmsg = msprintf(gettext("%s: Unrecognized parameter name ''%s''."), "linprog", param(2*i-1)); error(errmsg) |