Mercurial > hg > octave-nkf
changeset 4874:c69a6a16932b
[project @ 2004-04-22 16:02:25 by jwe]
author | jwe |
---|---|
date | Thu, 22 Apr 2004 16:02:26 +0000 |
parents | 0358ed4394f5 |
children | e674c7111b88 |
files | src/ChangeLog src/oct-stream.cc |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> + + * oct-stream.cc (printf_value_cache::curr_value): Now NDArray. + (printf_value_cache::double_value): Extract N-d array, not Matrix. + 2004-04-21 John W. Eaton <jwe@octave.org> * parse.y (function2): Pass id name to frob_function. Delete id.
--- a/src/oct-stream.cc +++ b/src/oct-stream.cc @@ -2123,7 +2123,7 @@ int n_vals; int n_elts; const double *data; - Matrix curr_val; + NDArray curr_val; state curr_state; // Must create value cache with values! @@ -2151,7 +2151,7 @@ { octave_value tmp_val = values (val_idx); - curr_val = tmp_val.matrix_value (); + curr_val = tmp_val.array_value (); if (! error_state) {