Skip to content

Commit 0fd437f

Browse files
AntoinePrvserge-sans-paille
authored andcommitted
Fix static_assert on i8mm<neon64>
1 parent fce8da2 commit 0fd437f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_arch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static_assert(xsimd::all_architectures::contains<xsimd::default_arch>(), "defaul
2626
#endif
2727

2828
#if !XSIMD_WITH_SVE
29-
static_assert((std::is_same<xsimd::default_arch, xsimd::neon64>::value || !xsimd::neon64::supported()), "on arm, without sve, the best we can do is neon64");
29+
static_assert((std::is_base_of<xsimd::neon64, xsimd::default_arch>::value || !xsimd::neon64::supported()), "on arm, without sve, the best we can do is neon64");
3030
#endif
3131

3232
struct check_supported

0 commit comments

Comments
 (0)