# HG changeset patch # User Jaroslav Hajek # Date 1233087779 -3600 # Node ID 43f831758d42ce73f8ff59623321b9fd8d49d46a # Parent 4c68e26e3ba167fb15f4a2e80b9618c353c228de fix typo in fsolve diff --git a/scripts/optimization/fsolve.m b/scripts/optimization/fsolve.m --- a/scripts/optimization/fsolve.m +++ b/scripts/optimization/fsolve.m @@ -102,8 +102,8 @@ funvalchk = strcmpi (optimget (options, "FunValCheck", "off"), "on"); if (funvalchk) - ## Replace fun with a guarded version. - fun = @(x) guarded_eval (fun, x); + ## Replace fcn with a guarded version. + fcn = @(x) guarded_eval (fcn, x); endif ## These defaults are rather stringent. I think that normally, user