From 4461b3dc1025a6ddb8b4496beb9358742974d9c8 Mon Sep 17 00:00:00 2001 From: Markus Wick Date: Fri, 4 Sep 2026 19:15:27 +0200 Subject: [PATCH] Fix comilation of neon/shifts_all_positive on msvc. This fixes a regression since b8f7ebef1a5197cb2df4856d133d2c8b236988e4 --- include/xsimd/arch/xsimd_neon.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }); }