diff src/OPERATORS/op-str-s.cc @ 10852:47e013327758

fix bug in n-dimensional character assignment
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 04 Aug 2010 23:29:02 +0200
parents ac4b97c6bf8b
children fd0a3ac60b0e
line wrap: on
line diff
--- a/src/OPERATORS/op-str-s.cc
+++ b/src/OPERATORS/op-str-s.cc
@@ -41,7 +41,7 @@
                                   a1.is_sq_string () ? '\'' : '"');
 
   if (! error_state)
-    v1.assign (idx, tmp.char_matrix_value ());
+    v1.assign (idx, tmp.char_array_value ());
 
   return octave_value ();
 }