Mercurial > hg > octave-nkf
changeset 10353:7ed1f2e831ba
qr.cc: increase tolerance for test
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Feb 2010 16:53:46 -0500 |
parents | a3635bc1ea19 |
children | f074aa6b2c80 |
files | src/ChangeLog src/DLD-FUNCTIONS/qr.cc |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-02-19 John W. Eaton <jwe@octave.org> + + * DLD-FUNCTIONS/qr.cc: Increase tolerance for test. + 2010-02-24 Jaroslav Hajek <highegg@gmail.com> * TEMPLATE-INST/Array-tc.cc: Remove Array2 instantiation. @@ -106,8 +110,6 @@ 2010-02-19 John W. Eaton <jwe@octave.org> -2010-02-19 John W. Eaton <jwe@octave.org> - * DLD-FUNCTIONS/qr.cc: Increase tolerance for test. 2010-02-19 Jaroslav Hajek <highegg@gmail.com>
--- a/src/DLD-FUNCTIONS/qr.cc +++ b/src/DLD-FUNCTIONS/qr.cc @@ -1318,7 +1318,7 @@ %! %! [Q,R] = qr(AA); %! [Q,R] = qrdelete(Q,R,3); -%! assert(norm(vec(Q'*Q - eye(5)),Inf) < 1e1*eps) +%! assert(norm(vec(Q'*Q - eye(5)),Inf) < 16*eps) %! assert(norm(vec(triu(R)-R),Inf) == 0) %! assert(norm(vec(Q*R - [AA(:,1:2) AA(:,4)]),Inf) < norm(AA)*1e1*eps) %!