Mercurial > hg > octave-lyh
diff scripts/optimization/fsolve.m @ 8604:43f831758d42
fix typo in fsolve
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 27 Jan 2009 21:22:59 +0100 |
parents | 8833c0b18eb2 |
children | 38482007c834 |
line wrap: on
line diff
--- 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