Mercurial > hg > octave-avbm
changeset 1033:ad8d79f99b28
[project @ 1995-01-15 21:48:53 by jwe]
author | jwe |
---|---|
date | Sun, 15 Jan 1995 21:48:53 +0000 |
parents | eb788d2f49c2 |
children | 69e610fb0013 |
files | src/tc-rep-ass.cc |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/tc-rep-ass.cc +++ b/src/tc-rep-ass.cc @@ -353,6 +353,9 @@ int i = NINT (tmp_i.double_value ()); int idx = i - 1; + if (index_check (idx, "") < 0) + return; + if (rhs_nr == 0 && rhs_nc == 0) { if (idx < nr * nc) @@ -372,9 +375,6 @@ return; } - if (index_check (idx, "") < 0) - return; - if (nr <= 1 || nc <= 1) { maybe_resize (idx);