# HG changeset patch # User jwe # Date 1082649746 0 # Node ID c69a6a16932b67869e8d4698d0abdd2a27fc32c2 # Parent 0358ed4394f58937d5e566c9dfff6a007842afd3 [project @ 2004-04-22 16:02:25 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-04-22 John W. Eaton + + * 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 * parse.y (function2): Pass id name to frob_function. Delete id. diff --git a/src/oct-stream.cc b/src/oct-stream.cc --- 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) {