Mercurial > hg > octave-lyh
comparison src/oct-stream.cc @ 5476:941f0fc6b596
[project @ 2005-09-29 22:46:07 by jwe]
author | jwe |
---|---|
date | Thu, 29 Sep 2005 22:49:43 +0000 |
parents | 7bdddf96f028 |
children | 9b4d9dbe88f7 |
comparison
equal
deleted
inserted
replaced
5475:04fa51cb7e90 | 5476:941f0fc6b596 |
---|---|
2321 { | 2321 { |
2322 if (! data) | 2322 if (! data) |
2323 { | 2323 { |
2324 octave_value tmp_val = values (val_idx); | 2324 octave_value tmp_val = values (val_idx); |
2325 | 2325 |
2326 curr_val = tmp_val.array_value (); | 2326 // Force string conversion here for compatibility. |
2327 | |
2328 curr_val = tmp_val.array_value (true); | |
2327 | 2329 |
2328 if (! error_state) | 2330 if (! error_state) |
2329 { | 2331 { |
2330 elt_idx = 0; | 2332 elt_idx = 0; |
2331 n_elts = curr_val.length (); | 2333 n_elts = curr_val.length (); |