Mercurial > hg > octave-shane
changeset 4772:9eed17b2c8d1
[project @ 2004-02-16 17:57:34 by jwe]
author | jwe |
---|---|
date | Mon, 16 Feb 2004 17:57:34 +0000 |
parents | b8105302cfe8 |
children | ccfbd6047a54 |
files | scripts/ChangeLog scripts/plot/__errcomm__.m |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2004-02-16 John W. Eaton <jwe@bevo.che.wisc.edu> + + * plot/__errcomm__.m: Fix thinko in previous change. + From Teemu Ikonen <tpikonen@pcu.helsinki.fi>. + 2004-02-16 A S Hodel <a.s.hodel@Eng.Auburn.EDU> * control/base/__bodquist__.m, control/base/__stepimp__.m,
--- a/scripts/plot/__errcomm__.m +++ b/scripts/plot/__errcomm__.m @@ -45,7 +45,7 @@ endif hold on; k = 1; - while (nargs) + while (nargs-- > 0) a = varargin{k++}; nargs--; if (isvector (a)) @@ -58,7 +58,7 @@ sz = size (a); ndata = 1; arg1 = a; - while (nargs--) + while (nargs-- > 0) a = varargin{k++}; if (isstr (a)) fmt = a;