diff --git a/include/xsimd/arch/xsimd_neon.hpp b/include/xsimd/arch/xsimd_neon.hpp index c0aff00bb..6acbe981a 100644 --- a/include/xsimd/arch/xsimd_neon.hpp +++ b/include/xsimd/arch/xsimd_neon.hpp @@ -2645,7 +2645,7 @@ namespace xsimd XSIMD_INLINE bool shifts_all_positive(batch const& b) noexcept { std::array::size> tmp = {}; - b.store_unaligned(tmp.begin()); + b.store_unaligned(tmp.data()); return std::all_of(tmp.begin(), tmp.end(), [](T x) { return x >= 0; }); }