Mercurial > hg > octave-lyh
changeset 5267:2969ccb6ff71
[project @ 2005-04-05 19:11:28 by jwe]
author | jwe |
---|---|
date | Tue, 05 Apr 2005 19:11:28 +0000 |
parents | 3fe873712e07 |
children | 7ca77747d680 |
files | src/ChangeLog src/ov-ch-mat.h |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2005-04-05 John W. Eaton <jwe@octave.org> + * ov-ch-mat.h (octave_char_matrix::index_vector): New function. + * oct-stream.cc (BEGIN_C_CONVERSION): Clear stream state if we hit EOF after we read something.
--- a/src/ov-ch-mat.h +++ b/src/ov-ch-mat.h @@ -79,6 +79,9 @@ octave_value *clone (void) const { return new octave_char_matrix (*this); } octave_value *empty_clone (void) const { return new octave_char_matrix (); } + idx_vector index_vector (void) const + { return idx_vector (array_value (true)); } + bool is_char_matrix (void) const { return true; } bool is_real_matrix (void) const { return true; }