aboutsummaryrefslogtreecommitdiffstats
path: root/common/alcomplex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/alcomplex.cpp')
-rw-r--r--common/alcomplex.cpp2
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