diff src/ov-lazy-idx.cc @ 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 de2d43bcb083
children fd0a3ac60b0e
line wrap: on
line diff
--- 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,