Mercurial > hg > octave-nkf
diff src/ov-base-sparse.h @ 5885:bd3041e30d97
[project @ 2006-07-14 20:29:35 by jwe]
author | jwe |
---|---|
date | Fri, 14 Jul 2006 20:29:35 +0000 |
parents | 6b9cec830d72 |
children | c20eb7330d13 |
line wrap: on
line diff
--- a/src/ov-base-sparse.h +++ b/src/ov-base-sparse.h @@ -101,10 +101,8 @@ dim_vector dims (void) const { return matrix.dims (); } - octave_value do_index_op (const octave_value_list& idx, int resize_ok); - - octave_value do_index_op (const octave_value_list& idx) - { return do_index_op (idx, 0); } + octave_value do_index_op (const octave_value_list& idx, + bool resize_ok = false); octave_value reshape (const dim_vector& new_dims) const { return T (matrix.reshape (new_dims)); }