Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/test_xfunctor_adaptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ namespace xt
#if defined(XTENSOR_USE_XSIMD) && XSIMD_X86_INSTR_SET >= XSIMD_X86_AVX_VERSION && XSIMD_X86_INSTR_SET < XSIMD_X86_AVX512_VERSION
TEST(xfunctor_adaptor, simd)
{
// This test fails when the default layour is column_major
if (XTENSOR_DEFAULT_LAYOUT == ::xt::layout_type::column_major)
{
return;
}

xarray<std::complex<double>> e = {{3.0 , 1.0 + 1.0i},
{1.0 - 1.0i, 2.0 }};
auto iview = xt::imag(e);
Expand Down