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 9d3794faed25e91d92c1f448335d2ce549d32b98
parent ff5431e539194ee55e83755e9ff0de2cd27da3d5
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date:   Sun, 26 Nov 2023 15:10:19 +0000

Fix flatten()

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

diff --git a/include/kfr/base/tensor.hpp b/include/kfr/base/tensor.hpp @@ -550,7 +550,7 @@ public: return reshape_may_copy(new_shape, false); } - KFR_MEM_INTRINSIC tensor<T, 1> flatten() const { return reshape(kfr::shape<1>{ m_size }, false); } + KFR_MEM_INTRINSIC tensor<T, 1> flatten() const { return reshape(kfr::shape<1>{ m_size }); } KFR_MEM_INTRINSIC tensor<T, 1> flatten_may_copy(bool allow_copy = false) const {