vigra
vigra copied to clipboard
FFTWTest fails
Vigra 1.11.1 fails one of its tests:
Running test_fourier
cd /tmp/guix-build-vigra-1.11.1.drv-0/build/test/fourier && ./run_test_fourier.sh
Entering test suite FFTWTest
Failure in MultiFFTTest::testFFT2D()
Assertion failed: Sequences differ at index 1 [(-12.0622,-47.6804) != (-12.0622,-47.6804)] (/tmp/guix-build-vigra-1.11.1.drv-0/vigra-1.11.1/test/fourier/test.cxx:443)
1 of 13 tests failed in test suite FFTWTest
Leaving test suite FFTWTest
Since these numbers look identical I assume that this might be due to a rounding error or an exact comparison of floating point numbers.
The build is done with GCC 5 and FFTW 3.3.7.
I'm currently using fftw 3.3.8 and have never seen this error (neither with GCC 5 nor GCC 7). Does it still persist on your machine if you upgrade fftw?