From bbac50be9abefecf445a9e14585be48690ec4b2c Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 24 May 2023 08:23:41 -0400 Subject: [PATCH] block rerange has return type void, not float. (#9) --- include/sst/effects/Bonsai.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sst/effects/Bonsai.h b/include/sst/effects/Bonsai.h index 252387a..d87aef6 100644 --- a/include/sst/effects/Bonsai.h +++ b/include/sst/effects/Bonsai.h @@ -566,7 +566,7 @@ inline void rerange01(float *__restrict in, float l2, float h2, float *__restric } } template -inline float rerange01(float *__restrict in, float *__restrict l2, float *__restrict h2, +inline void rerange01(float *__restrict in, float *__restrict l2, float *__restrict h2, float *__restrict src, float *__restrict dst) { for (auto i = 0U; i < blockSize; ++i) @@ -586,7 +586,7 @@ inline void rerange1b(float *__restrict in, float l2, float h2, float *__restric } } template -inline float rerange1b(float *__restrict in, float *__restrict l2, float *__restrict h2, +inline void rerange1b(float *__restrict in, float *__restrict l2, float *__restrict h2, float *__restrict src, float *__restrict dst) { for (auto i = 0U; i < blockSize; ++i)