diff liboctave/str-vec.cc @ 10350:12884915a8e4

merge MArray classes & improve Array interface
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 23 Jan 2010 21:41:03 +0100
parents 07ebe522dac2
children f9347eac65dc
line wrap: on
line diff
--- a/liboctave/str-vec.cc
+++ b/liboctave/str-vec.cc
@@ -95,7 +95,7 @@
 // nonnegative.
 
 string_vector::string_vector (const char * const *s, octave_idx_type n)
-  : Array<std::string> (n)
+  : Array<std::string> (1, n)
 {
   for (octave_idx_type i = 0; i < n; i++)
     elem (i) = s[i];