Mercurial > hg > octave-avbm
changeset 6749:f7fdea19da88
[project @ 2007-06-20 18:10:04 by jwe]
author | jwe |
---|---|
date | Wed, 20 Jun 2007 18:10:04 +0000 |
parents | c7eb2c149528 |
children | 2de995da10b8 |
files | scripts/ChangeLog scripts/strings/index.m |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,8 @@ 2007-06-20 John W. Eaton <jwe@octave.org> + * strings/index.m: Allow strings to be empty. + From Hartmut Wziontek <hwz@hwz.bv.TU-Berlin.DE> + * plot/__go_draw_axes__.m (do_tics_1): Fix typo (xtic -> tics). 2007-06-19 Vittoria Rezzonico <vittoria.rezzonico@epfl.ch> @@ -330,7 +333,7 @@ * set/ismember.m: Always return logical values. * set/ismember.m: Return early if no matches are found. New tests. - From: David Grohmann <grohmann@arlut.utexas.edu>. + From David Grohmann <grohmann@arlut.utexas.edu>. * general/__isequal__.m: Allow numeric values of different classes to compare equal.
--- a/scripts/strings/index.m +++ b/scripts/strings/index.m @@ -52,7 +52,7 @@ endif direction = lower (direction); - if (! (ischar (s) && ischar (t) && isvector (s) && isvector (t))) + if (! (ischar (s) && ischar (t))) error ("index: expecting character string arguments"); elseif (! strcmp (direction, {"first", "last"})) error ("index: direction must be either \"first\" or \"last\"");