Skip to content

Commit

Permalink
block rerange has return type void, not float. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul authored May 24, 2023
1 parent 839acf8 commit bbac50b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/sst/effects/Bonsai.h
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ inline void rerange01(float *__restrict in, float l2, float h2, float *__restric
}
}
template <size_t blockSize>
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)
Expand All @@ -586,7 +586,7 @@ inline void rerange1b(float *__restrict in, float l2, float h2, float *__restric
}
}
template <size_t blockSize>
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)
Expand Down

0 comments on commit bbac50b

Please sign in to comment.