diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-18 22:09:32 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-18 22:09:32 -0300 |
commit | 92bd43e33e79a7d682267d3f6054e8b1dd9d00db (patch) | |
tree | b997cb936a34c2e72ff4409dc73f9d3790312c71 /fourier.cpp | |
parent | 717558730554dbb470fbda0700f14fc43595063d (diff) | |
download | code-master.tar.gz code-master.tar.bz2 code-master.zip |
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); } } |