diff options
author | Chris Robinson <[email protected]> | 2022-12-14 17:39:47 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-14 17:39:47 -0800 |
commit | c40e1bc1ce4f43fed87508374679f82ed237d79d (patch) | |
tree | 3a596ae06129e1ddf6a55cd57f3931c36fabf883 /common/alcomplex.cpp | |
parent | 42090e93719748675384cc6ec9106fb39f869920 (diff) |
Better handle span sources from iterators
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 a31df79c..c4ff8fd9 100644 --- a/common/alcomplex.cpp +++ b/common/alcomplex.cpp @@ -93,7 +93,7 @@ constexpr std::array<al::span<const ushort2>,11> gBitReverses{{ template<typename Real> std::enable_if_t<std::is_floating_point<Real>::value> -complex_fft(const al::span<std::complex<Real>> buffer, const Real sign) +complex_fft(const al::span<std::complex<Real>> buffer, const al::type_identity_t<Real> sign) { const size_t fftsize{buffer.size()}; /* Get the number of bits used for indexing. Simplifies bit-reversal and |