diff options
Diffstat (limited to 'common/phase_shifter.h')
-rw-r--r-- | common/phase_shifter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/phase_shifter.h b/common/phase_shifter.h index 83e07c7a..6cfdf053 100644 --- a/common/phase_shifter.h +++ b/common/phase_shifter.h @@ -53,12 +53,12 @@ struct PhaseShifterT { std::fill_n(fftBuffer.get(), fft_size, complex_d{}); fftBuffer[half_size] = 1.0; - forward_fft({fftBuffer.get(), fft_size}); + forward_fft<double>({fftBuffer.get(), fft_size}); for(size_t i{0};i < half_size+1;++i) fftBuffer[i] = complex_d{-fftBuffer[i].imag(), fftBuffer[i].real()}; for(size_t i{half_size+1};i < fft_size;++i) fftBuffer[i] = std::conj(fftBuffer[fft_size - i]); - inverse_fft({fftBuffer.get(), fft_size}); + inverse_fft<double>({fftBuffer.get(), fft_size}); auto fftiter = fftBuffer.get() + half_size + (FilterSize/2 - 1); for(float &coeff : mCoeffs) |