revert commit 5e82b63
This commit is contained in:
parent
8639a053a3
commit
6ae057b3ea
|
|
@ -167,7 +167,7 @@ com_fft(wordlist *wl)
|
|||
in[j] = tdvec[0][j]*win[j];
|
||||
|
||||
/* data have same type and length - so we need only one plan */
|
||||
plan_forward = fftw_plan_dft_r2c_1d(length-1, in, out, FFTW_ESTIMATE);
|
||||
plan_forward = fftw_plan_dft_r2c_1d(length, in, out, FFTW_ESTIMATE);
|
||||
|
||||
for (i = 0; i<ngood; i++) {
|
||||
|
||||
|
|
|
|||
|
|
@ -770,7 +770,7 @@ cx_fft(void *data, short int type, int length, int *newlength, short int *newtyp
|
|||
for (i = 0; i < length; i++)
|
||||
ind[i] = realdata[i] * win[i];
|
||||
|
||||
plan_forward = fftw_plan_dft_r2c_1d(length-1, ind, out, FFTW_ESTIMATE);
|
||||
plan_forward = fftw_plan_dft_r2c_1d(length, ind, out, FFTW_ESTIMATE);
|
||||
|
||||
fftw_execute(plan_forward);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue