diff src/strfns.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 f0ac2fa91733
children 89f4d7e294cc
line wrap: on
line diff
--- a/src/strfns.cc	Mon Feb 22 23:07:21 2010 -0500
+++ b/src/strfns.cc	Sat Jan 23 21:41:03 2010 +0100
@@ -354,7 +354,7 @@
 
       const Cell cell = cell_val.cell_value ();
       const string_vector str = str_val.all_strings ();
-      octave_idx_type r = str.rows ();
+      octave_idx_type r = str.length ();
 
       if (r == 0 || r == 1)
         {