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 3c7538adb7cb138fb06946ec89f91994f7f45848
parent 1b4e220312aaa168485b1438f8ec356e8328be12
Author: [email protected] <[email protected]>
Date:   Tue,  8 Nov 2016 06:19:58 +0300

split: call shuffle directly

Diffstat:
Minclude/kfr/base/shuffle.hpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/kfr/base/shuffle.hpp b/include/kfr/base/shuffle.hpp @@ -107,7 +107,7 @@ CMT_INLINE void split(const vec<T, N>&) template <size_t start = 0, typename T, size_t N, size_t Nout, typename... Args> CMT_INLINE void split(const vec<T, N>& x, vec<T, Nout>& out, Args&&... args) { - out = slice<start, Nout>(x); + out = x.shuffle(csizeseq_t<Nout, start>()); split<start + Nout>(x, std::forward<Args>(args)...); } template <typename T, size_t N>