Mercurial > hg > octave-nkf
changeset 1694:bad55bbcaf46
[project @ 1996-01-07 01:52:53 by jwe]
author | jwe |
---|---|
date | Sun, 07 Jan 1996 01:52:53 +0000 |
parents | 55699892527f |
children | 6f5e1c4dd4cb |
files | liboctave/Array-idx.h |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/Array-idx.h +++ b/liboctave/Array-idx.h @@ -152,7 +152,7 @@ delete rep; rep = new ArrayRep<T> (new_data, new_len); - rep->count = 1; + set_max_indices (1); } else @@ -434,8 +434,9 @@ delete rep; rep = new ArrayRep<T> (new_data, nr * new_nc); - rep->count = 1; + d2 = new_nc; + set_max_indices (2); } else @@ -482,8 +483,9 @@ delete rep; rep = new ArrayRep<T> (new_data, new_nr * nc); - rep->count = 1; + d1 = new_nr; + set_max_indices (2); } else