Skip to content

Commit ee507e2

Browse files
authored
Merge pull request #2235 from JohanMabille/azure
Skips functor_adaptor simd test when the default layout is column major
2 parents fa61b53 + d4eba5d commit ee507e2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/test_xfunctor_adaptor.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ namespace xt
148148
#if defined(XTENSOR_USE_XSIMD) && XSIMD_X86_INSTR_SET >= XSIMD_X86_AVX_VERSION && XSIMD_X86_INSTR_SET < XSIMD_X86_AVX512_VERSION
149149
TEST(xfunctor_adaptor, simd)
150150
{
151+
// This test fails when the default layour is column_major
152+
if (XTENSOR_DEFAULT_LAYOUT == ::xt::layout_type::column_major)
153+
{
154+
return;
155+
}
156+
151157
xarray<std::complex<double>> e = {{3.0 , 1.0 + 1.0i},
152158
{1.0 - 1.0i, 2.0 }};
153159
auto iview = xt::imag(e);

0 commit comments

Comments
 (0)