Mercurial > hg > octave-terminal
changeset 1696:937366359b50
[project @ 1996-01-07 02:07:35 by jwe]
author | jwe |
---|---|
date | Sun, 07 Jan 1996 02:09:32 +0000 |
parents | 6f5e1c4dd4cb |
children | 597c3ca9f6e8 |
files | liboctave/CDiagMatrix.cc liboctave/dDiagMatrix.cc |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/CDiagMatrix.cc +++ b/liboctave/CDiagMatrix.cc @@ -99,7 +99,7 @@ return *this; } - for (int i = beg; i < end; i++) + for (int i = beg; i <= end; i++) elem (i, i) = val; return *this; @@ -114,7 +114,7 @@ return *this; } - for (int i = beg; i < end; i++) + for (int i = beg; i <= end; i++) elem (i, i) = val; return *this;