diff options
Diffstat (limited to 'fourier.cpp')
-rw-r--r-- | fourier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fourier.cpp b/fourier.cpp index bb1c92f..15cad52 100644 --- a/fourier.cpp +++ b/fourier.cpp @@ -169,7 +169,7 @@ std::vector<Complex> LogarithmicFourierTransform::fourier(const std::vector<Real } fftw_execute(â_to_a); for (unsigned n = 0; n < N; n++) { - ĉ[n] += exp(-k * ω(n)) * a[(pad - 1)*N+n].real() / (Real)(pad*N); + ĉ[n] += exp(-k * ω(n)) * a[(pad - 1)*N+n] / (Real)(pad*N); } } |