[patch] test failures in interpft.m

Jaroslav Hajek highegg at gmail.com
Tue Feb 3 02:18:13 CST 2009


On Mon, Feb 2, 2009 at 4:04 PM, Rob Mahurin <rob at utk.edu> wrote:
> 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
>
>
>

applied, thanks.


-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Bug-octave mailing list