comparison 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
comparison
equal deleted inserted replaced
8603:4c68e26e3ba1 8604:43f831758d42
100 updating = strcmpi (optimget (options, "Updating", "on"), "on"); 100 updating = strcmpi (optimget (options, "Updating", "on"), "on");
101 101
102 funvalchk = strcmpi (optimget (options, "FunValCheck", "off"), "on"); 102 funvalchk = strcmpi (optimget (options, "FunValCheck", "off"), "on");
103 103
104 if (funvalchk) 104 if (funvalchk)
105 ## Replace fun with a guarded version. 105 ## Replace fcn with a guarded version.
106 fun = @(x) guarded_eval (fun, x); 106 fcn = @(x) guarded_eval (fcn, x);
107 endif 107 endif
108 108
109 ## These defaults are rather stringent. I think that normally, user 109 ## These defaults are rather stringent. I think that normally, user
110 ## prefers accuracy to performance. 110 ## prefers accuracy to performance.
111 111