Mercurial > hg > octave-nkf
changeset 5889:221611b173e8
[project @ 2006-07-15 12:52:07 by jwe]
author | jwe |
---|---|
date | Sat, 15 Jul 2006 12:52:07 +0000 |
parents | c5b54890f3d1 |
children | 078f5b203e92 |
files | src/ChangeLog src/DLD-FUNCTIONS/dispatch.cc |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2006-07-15 John W. Eaton <jwe@octave.org> + + * DLD-FUNCTIONS/dispatch.cc (octave_dispatch::do_index_op): + Declare resize_ok arg as bool, not int. + Provide default value for resize_ok. + 2006-07-14 John W. Eaton <jwe@octave.org> * oct-stream.cc (do_write): Include explicit instantiations.
--- a/src/DLD-FUNCTIONS/dispatch.cc +++ b/src/DLD-FUNCTIONS/dispatch.cc @@ -64,7 +64,7 @@ octave_function *function_value (bool) { return this; } - octave_value do_index_op (const octave_value_list&, int) + octave_value do_index_op (const octave_value_list&, bool = false) { error ("dispatch: do_index_op"); return octave_value ();