From 4df0d0ece71ad044d4a035966a699086ca378f34 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Tue, 5 Dec 2023 18:59:47 +0100 Subject: [PATCH] Fox wasm implementation of from_mask --- include/xsimd/arch/xsimd_wasm.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/xsimd/arch/xsimd_wasm.hpp b/include/xsimd/arch/xsimd_wasm.hpp index 32a5d67c8..e8dcdd990 100644 --- a/include/xsimd/arch/xsimd_wasm.hpp +++ b/include/xsimd/arch/xsimd_wasm.hpp @@ -591,11 +591,11 @@ namespace xsimd } else XSIMD_IF_CONSTEXPR(sizeof(T) == 4) { - return batch_bool_cast(from_mask(batch_bool {}, mask, wasm {})); + return batch_bool_cast(from_mask(batch_bool {}, mask, wasm {}), batch_bool{}, wasm{}); } else XSIMD_IF_CONSTEXPR(sizeof(T) == 8) { - return batch_bool_cast(from_mask(batch_bool {}, mask, wasm {})); + return batch_bool_cast(from_mask(batch_bool {}, mask, wasm {}), batch_bool{}, wasm{}); } } @@ -1625,4 +1625,4 @@ namespace xsimd } } -#endif \ No newline at end of file +#endif