Mercurial > hg > octave-nkf
changeset 6921:2ae5d4353d0b
[project @ 2007-09-21 16:53:47 by jwe]
author | jwe |
---|---|
date | Fri, 21 Sep 2007 16:53:47 +0000 |
parents | 17d9ce1f00f5 |
children | f806e2740216 |
files | scripts/ChangeLog scripts/optimization/sqp.m |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2007-09-21 John W. Eaton <jwe@octave.org> + * optimization/sqp.m: Fix typo. + * plot/__go_draw_axes__.m (do_tics_1): Use %g, not %.15g here. 2007-09-21 Luther Tychonievich <lty@cs.byu.edu>
--- a/scripts/optimization/sqp.m +++ b/scripts/optimization/sqp.m @@ -305,7 +305,7 @@ iter_max = 100; if (nargin > 6 && ! isempty (maxiter)) - if (isscalar (maxiter) && maxiter > 0 && round (maxiter) == maxiter)) + if (isscalar (maxiter) && maxiter > 0 && round (maxiter) == maxiter) iter_max = maxiter; else error ("sqp: invalid number of maximum iterations");