We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a1058 commit f78c251Copy full SHA for f78c251
include/xsimd/arch/xsimd_ssse3.hpp
@@ -78,7 +78,7 @@ namespace xsimd
78
XSIMD_INLINE batch<T, A> extract_pair(batch<T, A> const& self, batch<T, A> const& other, std::size_t i, requires_arch<ssse3>) noexcept
79
{
80
constexpr std::size_t size = batch<T, A>::size;
81
- assert(0 <= i && i < size && "index in bounds");
+ assert(i < size && "index in bounds");
82
return detail::extract_pair(self, other, i, ::xsimd::detail::make_index_sequence<size>());
83
}
84
0 commit comments