From 395d32e329a5e130bb40c19ad4b848c85482fea5 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Thu, 20 Nov 2025 22:15:59 +0100 Subject: [PATCH] [cleanup] Remove some redundant code in batch_bool_constant --- include/xsimd/types/xsimd_batch_constant.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/xsimd/types/xsimd_batch_constant.hpp b/include/xsimd/types/xsimd_batch_constant.hpp index 5c00efc70..0d81032cf 100644 --- a/include/xsimd/types/xsimd_batch_constant.hpp +++ b/include/xsimd/types/xsimd_batch_constant.hpp @@ -230,7 +230,7 @@ namespace xsimd static_assert(Begin <= End, "splice: Begin must be <= End"); static_assert(End <= sizeof...(Values), "splice: End must be <= size"); static_assert(N == batch_bool::size, "splice: target arch size must match submask length"); - return splice_impl(make_index_sequence()); + return {}; } template @@ -240,7 +240,7 @@ namespace xsimd static_assert(sizeof...(Values) % 2 == 0, "lower_half requires even size"); static_assert(batch_bool::size == sizeof...(Values) / 2, "lower_half: target arch size must match submask length"); - return splice_impl(make_index_sequence()); + return {}; } template @@ -250,7 +250,7 @@ namespace xsimd static_assert(sizeof...(Values) % 2 == 0, "upper_half requires even size"); static_assert(batch_bool::size == sizeof...(Values) / 2, "upper_half: target arch size must match submask length"); - return splice_impl(make_index_sequence()); + return {}; } } // namespace detail