comparison 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
comparison
equal deleted inserted replaced
10349:d4d13389c957 10350:12884915a8e4
352 cell_val = arg0; 352 cell_val = arg0;
353 } 353 }
354 354
355 const Cell cell = cell_val.cell_value (); 355 const Cell cell = cell_val.cell_value ();
356 const string_vector str = str_val.all_strings (); 356 const string_vector str = str_val.all_strings ();
357 octave_idx_type r = str.rows (); 357 octave_idx_type r = str.length ();
358 358
359 if (r == 0 || r == 1) 359 if (r == 0 || r == 1)
360 { 360 {
361 // Broadcast the string. 361 // Broadcast the string.
362 362