# HG changeset patch # User Jaroslav Hajek # Date 1273559518 -7200 # Node ID 483dbafc518cc24d8e473dc4e98e208c65099c13 # Parent 6fb954475e21432d95044476c8ae28906427d91e fix bug in binary saving of lazy indices diff -r 6fb954475e21 -r 483dbafc518c src/ChangeLog --- a/src/ChangeLog Tue May 11 07:25:20 2010 +0200 +++ b/src/ChangeLog Tue May 11 08:31:58 2010 +0200 @@ -1,3 +1,8 @@ +2010-05-11 Jaroslav Hajek + + * ov-lazy-idx.cc (octave_lazy_index::save_binary): Fix arguments to + save_binary_data. + 2010-05-07 Jaroslav Hajek * DLD-FUNCTIONS/sqrtm.cc (do_sqrtm): Mark the result as triangular diff -r 6fb954475e21 -r 483dbafc518c src/ov-lazy-idx.cc --- a/src/ov-lazy-idx.cc Tue May 11 07:25:20 2010 +0200 +++ b/src/ov-lazy-idx.cc Tue May 11 08:31:58 2010 +0200 @@ -176,7 +176,8 @@ bool octave_lazy_index::save_binary (std::ostream& os, bool& save_as_floats) { - return save_binary_data (os, make_value (), value_save_tag, false, 0, save_as_floats); + return save_binary_data (os, make_value (), value_save_tag, + std::string (), false, save_as_floats); } bool octave_lazy_index::load_binary (std::istream& is, bool swap,