Skip to content

Commit 5e5a19a

Browse files
++
1 parent 62d6c06 commit 5e5a19a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xsimd/arch/xsimd_rvv.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ namespace xsimd
15091509
}
15101510

15111511
// mask
1512-
template <class A, class T>
1512+
template <class A, class T, class = std::enable_if_t<sizeof(T) >= batch_bool<T, A>::size>>
15131513
XSIMD_INLINE uint64_t mask(batch_bool<T, A> const& self, requires_arch<rvv>) noexcept
15141514
{
15151515
const auto zero = detail::broadcast<as_unsigned_integer_t<T>, types::detail::rvv_width_m1>(T(0));

0 commit comments

Comments
 (0)