Mercurial > hg > octave-lojdl
changeset 7239:7d7f05863f27
[project @ 2007-12-03 20:10:06 by jwe]
author | jwe |
---|---|
date | Mon, 03 Dec 2007 20:10:06 +0000 |
parents | 22f210ca8cc1 |
children | 3a695b7adf8e |
files | scripts/ChangeLog scripts/linear-algebra/condest.m |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2007-12-03 Thomas Treichl <Thomas.Treichl@gmx.net> + + * linear-algebra/condest.m: Loosen tolerance in test. + 2007-12-02 John W. Eaton <jwe@octave.org> * plot/__go_draw_axes__.m: Remove unnecessary call to
--- a/scripts/linear-algebra/condest.m +++ b/scripts/linear-algebra/condest.m @@ -196,7 +196,7 @@ %! A = hilb (N); %! cA = condest (A); %! cA_test = norm (inv (A), 1) * norm (A, 1); -%! assert (cA, cA_test, 2^-12); +%! assert (cA, cA_test, 2^-8); %!test %! N = 6; @@ -204,7 +204,7 @@ %! solve = @(x) A\x; solve_t = @(x) A'\x; %! cA = condest (A, solve, solve_t); %! cA_test = norm (inv (A), 1) * norm (A, 1); -%! assert (cA, cA_test, 2^-12); +%! assert (cA, cA_test, 2^-8); %!test %! N = 6;