diff options
author | Chris Robinson <[email protected]> | 2023-02-06 12:35:51 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-02-06 12:35:51 -0800 |
commit | 0de7ea42fa197833bff70b4c370ed29f9859889d (patch) | |
tree | a7c61b3238d135728abbb7fe0496581a9510efb8 /common/alcomplex.cpp | |
parent | ff530e982ec7cd8eea7033ef7dd4451e81aa32e5 (diff) |
Avoid using auto for lambda parameters
Diffstat (limited to 'common/alcomplex.cpp')
-rw-r--r-- | common/alcomplex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/alcomplex.cpp b/common/alcomplex.cpp index b6cac4cd..a9e28441 100644 --- a/common/alcomplex.cpp +++ b/common/alcomplex.cpp @@ -158,7 +158,7 @@ void complex_hilbert(const al::span<std::complex<double>> buffer) *bufiter *= inverse_size; ++bufiter; bufiter = std::transform(bufiter, halfiter, bufiter, - [scale=inverse_size*2.0](auto a){ return a * scale; }); + [scale=inverse_size*2.0](std::complex<double> d){ return d * scale; }); *bufiter *= inverse_size; ++bufiter; std::fill(bufiter, buffer.end(), std::complex<double>{}); |