Mercurial > hg > octave-nkf
changeset 11451:48cb431db87b
optimset: remove "i" option from call to lookup
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Jan 2011 03:20:42 -0500 |
parents | 5eb10763069f |
children | e1a5bf3ea1d9 |
files | scripts/ChangeLog scripts/optimization/optimset.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2011-01-06 John W. Eaton <jwe@octave.org> + + * optimization/optimset.m: Remove "i" option from call to + lookup. Bug #31392. + 2011-01-05 Rik <octave@nomad.inbox5.com> * general/isa.m: Add tests against logical values.
--- a/scripts/optimization/optimset.m +++ b/scripts/optimization/optimset.m @@ -63,7 +63,7 @@ for [val, key] = new if (validation) ## Case insensitive lookup in all options. - i = lookup (lopts, tolower (key), "i"); + i = lookup (lopts, tolower (key)); ## Validate option. if (i > 0 && strcmpi (opts{i}, key)) ## Use correct case.