[patch] test failures in interpft.m
Rob Mahurin
rob at utk.edu
Mon Feb 2 09:04:35 CST 2009
Hello,
I have compiled Octave from the 3.0.3 tarball on OS X 10.4.11 (powerpc).
The command "test interpft" fails:
> octave:3> test interpft
> ***** assert (interpft(y, n), y, 2*eps);
> !!!!! test failed
> error: assert (interpft (y, n),y,2 * eps) expected
> 0.00000
> 0.84147
> [...]
> but got
> 3.1919e-16
> 8.4147e-01
> [...]
> maximum absolute error 3.9968e-15 exceeds tolerance 4.44089e-16
interpft.m uses a Fourier transform. The problem seems to come from
linking against the FFTPACK library rather than FFTW.
Patch to relax the test attached. Cheers.
Rob
--
Rob Mahurin
Department of Physics and Astronomy
University of Tennessee 865 207 2594
Knoxville, TN 37996 rob at utk.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-increase-tolerance-in-tests.patch
Type: application/octet-stream
Size: 1240 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090202/77abd3df/attachment.obj
More information about the Bug-octave
mailing list