Mercurial > hg > octave-max
changeset 5888:c5b54890f3d1
[project @ 2006-07-14 21:22:40 by jwe]
author | jwe |
---|---|
date | Fri, 14 Jul 2006 21:22:40 +0000 |
parents | 39cbf6a484bb |
children | 221611b173e8 |
files | src/ChangeLog src/ov-struct.h |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,6 +4,7 @@ * ov-str-mat.h (octave_char_matrix_sq_str::resize): Include fill arg to match base class. + * ov-struct.h (octave_struct::resize): Likewise. * ov-base-mat.cc, ov-base-mat.h, ov-base-sparse.cc, ov-base-sparse.h, ov-base.cc, ov-base.h, ov-bool.cc,
--- a/src/ov-struct.h +++ b/src/ov-struct.h @@ -90,7 +90,7 @@ octave_value reshape (const dim_vector& new_dims) const { return map.reshape (new_dims); } - octave_value resize (const dim_vector& dv) const + octave_value resize (const dim_vector& dv, bool = false) const { Octave_map tmap = map; tmap.resize (dv); return tmap; } bool is_defined (void) const { return true; }