diff options
Diffstat (limited to 'macros/fminbnd.sci')
-rw-r--r-- | macros/fminbnd.sci | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/fminbnd.sci b/macros/fminbnd.sci index c9bf4cc..2c29b03 100644 --- a/macros/fminbnd.sci +++ b/macros/fminbnd.sci @@ -253,12 +253,12 @@ function [xopt,fopt,exitflag,output,lambda] = fminbnd (varargin) //To check the user entry for options and storing it for i = 1:(size(param))/2 - select param(2*i-1) - case "MaxIter" then + select convstr(param(2*i-1),'l') + case "maxiter" then options(2*i) = param(2*i); - case "CpuTime" then + case "cputime" then options(2*i) = param(2*i); - case "TolX" then + case "tolx" then options(2*i) = param(2*i); else errmsg = msprintf(gettext("%s: Unrecognized parameter name %s."), "fminbnd", param(2*i-1)); |