Mercurial > hg > octave-lyh
changeset 892:53ad6947655f
[project @ 1994-11-08 21:05:42 by jwe]
author | jwe |
---|---|
date | Tue, 08 Nov 1994 21:05:42 +0000 |
parents | 9e6bdfdfcf86 |
children | 52c5259724aa |
files | liboctave/CMatrix.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/CMatrix.cc +++ b/liboctave/CMatrix.cc @@ -2764,7 +2764,7 @@ if (column_is_real_only) { double res = 0; - double tmp = real (elem (i, j)); + double tmp = real (elem (0, j)); for (int i = 1; i < nr; i++) if (real (elem (i, j)) < tmp) res = i; @@ -2865,7 +2865,7 @@ if (column_is_real_only) { double res = 0; - double tmp = real (elem (i, j)); + double tmp = real (elem (0, j)); for (int i = 1; i < nr; i++) if (real (elem (i, j)) > tmp) res = i;