Mercurial > octave-nkf
changeset 1688:62ad73f2ebd0
[project @ 1996-01-05 20:02:55 by jwe]
author | jwe |
---|---|
date | Fri, 05 Jan 1996 20:02:55 +0000 |
parents | c5f9b6cea4a8 |
children | acf3af7e64f7 |
files | src/pt-const.cc |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-const.cc Mon Jan 01 03:26:09 1996 +0000 +++ b/src/pt-const.cc Fri Jan 05 20:02:55 1996 +0000 @@ -3070,6 +3070,12 @@ panic_impossible (); break; } + + // Do the right thing for assignments like `x(1) = pi' when x is + // undefined before the assignment. + + if (is_matrix_type () || is_range ()) + maybe_mutate (); } /*