Mercurial > octave-nkf
changeset 4992:2f2afb8635f5
[project @ 2004-09-15 18:22:27 by jwe]
author | jwe |
---|---|
date | Wed, 15 Sep 2004 18:22:27 +0000 |
parents | b38ef92e443e |
children | 761b8d760785 |
files | scripts/ChangeLog scripts/strings/strcmp.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog Tue Sep 14 19:42:34 2004 +0000 +++ b/scripts/ChangeLog Wed Sep 15 18:22:27 2004 +0000 @@ -1,3 +1,7 @@ +2004-09-15 John W. Eaton <jwe@octave.org> + + * strings/strcmp.m: Fix typo in cell/string array case. + 2004-09-10 David Bateman <dbateman@free.fr> * statistics/distributions/binomial_rnd.m: Fix error for scalar n
--- a/scripts/strings/strcmp.m Tue Sep 14 19:42:34 2004 +0000 +++ b/scripts/strings/strcmp.m Wed Sep 15 18:22:27 2004 +0000 @@ -102,7 +102,7 @@ if (n == r2) retval = zeros (n, 1); for i = 1:n - retval(i) = strcmp (t2{i}, deblank (s2(i,:))); + retval(i) = strcmp (t1{i}, deblank (s2(i,:))); endfor retval = reshape (retval, r1, c1); endif