Mercurial > hg > octave-lojdl
changeset 8138:877faa7aa9b2
interpft.m: increase tolerance
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Sep 2008 09:47:58 -0400 |
parents | 177117c7e375 |
children | 6b3a965b6c7d |
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]))