diff src/ov.cc @ 3189:bef7b73c0724

[project @ 1998-10-16 18:05:26 by jwe]
author jwe
date Fri, 16 Oct 1998 18:05:31 +0000
parents 5708b8bb4f06
children 3ac3e8edc258
line wrap: on
line diff
--- a/src/ov.cc	Thu Oct 15 06:02:21 1998 +0000
+++ b/src/ov.cc	Fri Oct 16 18:05:31 1998 +0000
@@ -365,6 +365,13 @@
   maybe_mutate ();
 }
 
+octave_value::octave_value (char c)
+  : rep (new octave_char_matrix_str (c))
+{
+  rep->count = 1;
+  maybe_mutate ();
+}
+
 octave_value::octave_value (const char *s)
   : rep (new octave_char_matrix_str (s))
 {