Mercurial > hg > octave-lyh
changeset 17146:b9ffacf34c2d
fftfilt.m: Increase %!test tolerance to 2*eps (bug #39647)
* scripts/signal/fftfilt.m: Increase %!test tolerance to 2*eps (bug #39647)
author | Rik <rik@octave.org> |
---|---|
date | Thu, 01 Aug 2013 11:54:24 -0700 |
parents | dcac71776ae8 |
children | 13da13e1e17f |
files | scripts/signal/fftfilt.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/signal/fftfilt.m +++ b/scripts/signal/fftfilt.m @@ -141,7 +141,7 @@ %! assert (fftfilt (b.',x ), [1 1 0 0 0 0 0 0 0 0] ); %! assert (fftfilt (b.',x.'), [1 1 0 0 0 0 0 0 0 0].'); %! assert (fftfilt (b, [x.' x.']), [1 1 0 0 0 0 0 0 0 0].'*[1 1]); -%! assert (fftfilt (b, [x.'+eps x.']) == [1 1 0 0 0 0 0 0 0 0].'*[1 1], [false(10, 1) true(10, 1)]); +%! assert (fftfilt (b, [x.'+2*eps x.']) == [1 1 0 0 0 0 0 0 0 0].'*[1 1], [false(10, 1) true(10, 1)]); %!test %! r = sqrt (1/2) * (1+i);