commit 7265fd9f4aabf66189e40ae85cae0f906568c5e7
parent c3da16116989f443d5cc7ea67d69d01873bb6e66
Author: [email protected] <[email protected]>
Date: Fri, 11 Nov 2022 19:43:16 +0000
Fix index_t type cast
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kfr/dsp/biquad.hpp b/include/kfr/dsp/biquad.hpp
@@ -245,7 +245,7 @@ KFR_INTRINSIC vec<T, N> get_elements(const expression_biquads<filters, T, E1>& s
else
{
size_t i = 0;
- for (; i < std::min(N, self.block_end - index.front()); i++)
+ for (; i < std::min(N, self.block_end - static_cast<size_t>(index.front())); i++)
{
const vec<T, 1> in =
get_elements(self.first(), index.add_at(i, cval<index_t, 0>), axis_params_v<0, 1>);