diff options
-rw-r--r-- | common/alcomplex.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/alcomplex.cpp b/common/alcomplex.cpp index 71d3c5f8..f77ec203 100644 --- a/common/alcomplex.cpp +++ b/common/alcomplex.cpp @@ -55,8 +55,6 @@ void complex_fft(const al::span<std::complex<double>> buffer, const double sign) void complex_hilbert(const al::span<std::complex<double>> buffer) { - std::for_each(buffer.begin(), buffer.end(), [](std::complex<double> &c) { c.imag(0.0); }); - complex_fft(buffer, 1.0); const double inverse_size = 1.0/static_cast<double>(buffer.size()); |