Comment 6 for bug 399565

Revision history for this message
Paul (paulgfx) wrote :

I did the debugging of extace and I found out the problem:
In main.c there is a line:
plan = fftw_plan_r2r_1d(nsamp, raw_fft_in,raw_fft_out, FFTW_R2HC, FFTW_FORWARD|FFTW_ESTIMATE);

You need to remove FFTW_FORWARD and the line becomes:

plan = fftw_plan_r2r_1d(nsamp, raw_fft_in,raw_fft_out, FFTW_R2HC, FFTW_ESTIMATE);

Now it works perfectly. It seems that fftw refuses to make a fft plan with FFTW_R2HC & FFTW_FORWARD (FFTW_R2HC already implies forward fft).
Paul