changeset 10621:483dbafc518c

fix bug in binary saving of lazy indices
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 11 May 2010 08:31:58 +0200
parents 6fb954475e21
children f35903fa42ed
files src/ChangeLog src/ov-lazy-idx.cc
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <highegg@gmail.com>
+
+	* ov-lazy-idx.cc (octave_lazy_index::save_binary): Fix arguments to
+	save_binary_data.
+
 2010-05-07  Jaroslav Hajek  <highegg@gmail.com>
 
 	* DLD-FUNCTIONS/sqrtm.cc (do_sqrtm): Mark the result as triangular
--- 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,