Skip to content

Commit 2a1f14e

Browse files
committed
Fix ARM build
1 parent e6ed9f6 commit 2a1f14e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/math/simd/vector/half.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#pragma once
2121
#include "math/simd/vector/float.hpp"
2222

23-
#if defined(MATH_SIMD_SUPPORT_AVX2)
23+
#if defined(MATH_SIMD_SUPPORT_AVX2) || defined(MATH_SIMD_SUPPORT_NEON) || defined(FLT16_MIN)
2424
namespace math
2525
{
2626

@@ -202,4 +202,4 @@ struct [[nodiscard]] alignas(8) f16x4
202202
};
203203

204204
} // namespace math
205-
#endif // MATH_SIMD_SUPPORT_AVX2
205+
#endif

0 commit comments

Comments
 (0)