kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit 6a15c1b1301177fb844389b2c9d0091d28235926
parent e43fc56ae2c44676513ddd1d6e746d6d2aa1060b
Author: [email protected] <[email protected]>
Date:   Thu,  3 Nov 2016 08:04:02 +0300

simd_intrin.hpp: Small fixes

Diffstat:
Minclude/kfr/base/simd_intrin.hpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/kfr/base/simd_intrin.hpp b/include/kfr/base/simd_intrin.hpp @@ -197,7 +197,7 @@ struct alignas(const_min(platform<>::maximum_vector_alignment, sizeof(T) * next_ : vs{ s0, s1, static_cast<value_type>(rest)... } { } - template <size_t N1, size_t... Ns, typename = enable_if<csum<size_t, N1, Ns...>() == N>> + template <size_t N1, size_t... Ns, typename = enable_if<(csum<size_t, N1, Ns...>() == N)>> KFR_I_CE vec(const vec<T, N1>& v0, const vec<T, Ns>&... vecs) noexcept : simd(*concat(v0, vecs...)) { } @@ -322,7 +322,7 @@ struct alignas(const_min(platform<>::maximum_vector_alignment, sizeof(T) * next_ simd_type operator*() const noexcept { return simd; } simd_type& operator*() noexcept { return simd; } protected: - template <typename U, size_t M> + template <typename, size_t> friend struct vec; union {