Mercurial > octave-nkf
changeset 7687:795be0215bf7
spaugment: reduce test script tolerance
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 03 Apr 2008 10:37:14 -0400 |
parents | 5499ec4d8705 |
children | 5502b815a556 |
files | scripts/ChangeLog scripts/sparse/spaugment.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog Thu Apr 03 00:01:07 2008 -0400 +++ b/scripts/ChangeLog Thu Apr 03 10:37:14 2008 -0400 @@ -1,3 +1,7 @@ +2008-04-03 Ben Abbott <bpabbott@mac.com> + + * sparse/spaugment.m: Increase test script tolerance. + 2008-04-02 John W. Eaton <jwe@octave.org> * deprecated/Makefile.in (SOURCES): Add spkron.m to the list.
--- a/scripts/sparse/spaugment.m Thu Apr 03 00:01:07 2008 -0400 +++ b/scripts/sparse/spaugment.m Thu Apr 03 10:37:14 2008 -0400 @@ -94,4 +94,4 @@ %! [L, U, P, Q] = lu (s); %! x1 = Q * (U \ (L \ (P * [ones(m,1); zeros(n,1)]))); %! x1 = x1(end - n + 1 : end); -%! assert (x1, x0, 1e-10) +%! assert (x1, x0, 1e-6)