# HG changeset patch # User jwe # Date 1152912160 0 # Node ID c5b54890f3d168e93dede3fb153570ed0b67b287 # Parent 39cbf6a484bbf9fad32f970587e2e4cbd39269c6 [project @ 2006-07-14 21:22:40 by jwe] diff -r 39cbf6a484bb -r c5b54890f3d1 src/ChangeLog --- a/src/ChangeLog Fri Jul 14 21:02:51 2006 +0000 +++ b/src/ChangeLog Fri Jul 14 21:22:40 2006 +0000 @@ -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, diff -r 39cbf6a484bb -r c5b54890f3d1 src/ov-struct.h --- a/src/ov-struct.h Fri Jul 14 21:02:51 2006 +0000 +++ b/src/ov-struct.h Fri Jul 14 21:22:40 2006 +0000 @@ -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; }