diff src/ov-re-mat.cc @ 5279:bd32f770c09a

[project @ 2005-04-12 21:55:31 by jwe]
author jwe
date Tue, 12 Apr 2005 21:55:31 +0000
parents 23b37da9fd5b
children 4c8a2e4e0717
line wrap: on
line diff
--- a/src/ov-re-mat.cc	Tue Apr 12 21:04:39 2005 +0000
+++ b/src/ov-re-mat.cc	Tue Apr 12 21:55:31 2005 +0000
@@ -199,7 +199,7 @@
 }
 
 octave_value
-octave_matrix::convert_to_str_internal (bool, bool) const
+octave_matrix::convert_to_str_internal (bool, bool, char type) const
 {
   octave_value retval;
   dim_vector dv = dims ();
@@ -208,7 +208,7 @@
   if (nel == 0)
     {
       char s = '\0';
-      retval = octave_value (&s);
+      retval = octave_value (&s, type);
     }
   else
     {
@@ -249,7 +249,7 @@
 	    }
 	}
 
-      retval = octave_value (chm, 1);
+      retval = octave_value (chm, true, type);
     }
 
   return retval;