# HG changeset patch # User jwe # Date 1152967927 0 # Node ID 221611b173e8da49b3d042227b16907a598f8011 # Parent c5b54890f3d168e93dede3fb153570ed0b67b287 [project @ 2006-07-15 12:52:07 by jwe] diff -r c5b54890f3d1 -r 221611b173e8 src/ChangeLog --- a/src/ChangeLog Fri Jul 14 21:22:40 2006 +0000 +++ b/src/ChangeLog Sat Jul 15 12:52:07 2006 +0000 @@ -1,3 +1,9 @@ +2006-07-15 John W. Eaton + + * 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 * oct-stream.cc (do_write): Include explicit instantiations. diff -r c5b54890f3d1 -r 221611b173e8 src/DLD-FUNCTIONS/dispatch.cc --- a/src/DLD-FUNCTIONS/dispatch.cc Fri Jul 14 21:22:40 2006 +0000 +++ b/src/DLD-FUNCTIONS/dispatch.cc Sat Jul 15 12:52:07 2006 +0000 @@ -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 ();