From e14e9a5401c533f5d589de7fdf87e683c5d65985 Mon Sep 17 00:00:00 2001 From: Yibo Cai Date: Fri, 15 Oct 2021 09:34:46 +0800 Subject: [PATCH] Fix constexpr make_tuple in neon64 --- include/xsimd/arch/xsimd_neon64.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xsimd/arch/xsimd_neon64.hpp b/include/xsimd/arch/xsimd_neon64.hpp index e9187f662..f63254adf 100644 --- a/include/xsimd/arch/xsimd_neon64.hpp +++ b/include/xsimd/arch/xsimd_neon64.hpp @@ -804,7 +804,7 @@ namespace xsimd uint32x4_t, int32x4_t, uint64x2_t, int64x2_t, float32x4_t>; - constexpr caster_type caster = { + const caster_type caster = { std::make_tuple(wrap::vreinterpretq_f64_u8, wrap::vreinterpretq_f64_s8, wrap::vreinterpretq_f64_u16, wrap::vreinterpretq_f64_s16, wrap::vreinterpretq_f64_u32, wrap::vreinterpretq_f64_s32, wrap::vreinterpretq_f64_u64, wrap::vreinterpretq_f64_s64, wrap::vreinterpretq_f64_f32) @@ -840,7 +840,7 @@ namespace xsimd uint32x4_t, int32x4_t, uint64x2_t, int64x2_t, float32x4_t>; - constexpr caster_type caster = { + const caster_type caster = { std::make_tuple(wrap::vreinterpretq_u8_f64, wrap::vreinterpretq_s8_f64, wrap::vreinterpretq_u16_f64, wrap::vreinterpretq_s16_f64, wrap::vreinterpretq_u32_f64, wrap::vreinterpretq_s32_f64, wrap::vreinterpretq_u64_f64, wrap::vreinterpretq_s64_f64, wrap::vreinterpretq_f32_f64)