Skip to content

Commit 3ad9c43

Browse files
authored
Fix comilation of neon/shifts_all_positive on msvc. (#1409)
1 parent 257c0e2 commit 3ad9c43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/xsimd/arch/xsimd_neon.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ namespace xsimd
26452645
XSIMD_INLINE bool shifts_all_positive(batch<T, A> const& b) noexcept
26462646
{
26472647
std::array<T, batch<T, A>::size> tmp = {};
2648-
b.store_unaligned(tmp.begin());
2648+
b.store_unaligned(tmp.data());
26492649
return std::all_of(tmp.begin(), tmp.end(), [](T x)
26502650
{ return x >= 0; });
26512651
}

0 commit comments

Comments
 (0)