Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/xsimd/types/xsimd_batch_constant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<T, A2>::size, "splice: target arch size must match submask length");
return splice_impl<A2, Begin, T, A, Values...>(make_index_sequence<N>());
return {};
}

template <class A2, typename T, class A, bool... Values>
Expand All @@ -240,7 +240,7 @@ namespace xsimd
static_assert(sizeof...(Values) % 2 == 0, "lower_half requires even size");
static_assert(batch_bool<T, A2>::size == sizeof...(Values) / 2,
"lower_half: target arch size must match submask length");
return splice_impl<A2, 0, T, A, Values...>(make_index_sequence<sizeof...(Values) / 2>());
return {};
}

template <class A2, typename T, class A, bool... Values>
Expand All @@ -250,7 +250,7 @@ namespace xsimd
static_assert(sizeof...(Values) % 2 == 0, "upper_half requires even size");
static_assert(batch_bool<T, A2>::size == sizeof...(Values) / 2,
"upper_half: target arch size must match submask length");
return splice_impl<A2, sizeof...(Values) / 2, T, A, Values...>(make_index_sequence<sizeof...(Values) / 2>());
return {};
}
} // namespace detail

Expand Down