Mercurial > hg > octave-terminal
changeset 11858:42c40c6ebb8e release-3-0-x
interpft.m: increase tolerance
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 29 Sep 2008 07:24:07 +0200 |
parents | 588660d73fa1 |
children | 5d7aa47a5797 |
files | scripts/ChangeLog scripts/general/interpft.m |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-09-24 John W. Eaton <jwe@octave.org> + + * general/interpft.m: Increase tolerance in tests. + 2008-09-23 Francesco Potorti` <Potorti@isti.cnr.it> * plot/pcolor.m: Improve doc string.
--- a/scripts/general/interpft.m +++ b/scripts/general/interpft.m @@ -106,9 +106,9 @@ %!shared n,y %! x = [0:10]'; y = sin(x); n = length (x); -%!assert (interpft(y, n), y, eps); -%!assert (interpft(y', n), y', eps); -%!assert (interpft([y,y],n), [y,y], eps); +%!assert (interpft(y, n), y, 2*eps); +%!assert (interpft(y', n), y', 2*eps); +%!assert (interpft([y,y],n), [y,y], 2*eps); %!error (interpft(y,n,0)) %!error (interpft(y,[n,n]))