Using the latest xtensor stack I realised that using xt::linalg:eig() from xtensor-blas results in an error when trying to assign to the real part of the complex results vector. I am using xsimd as well.
.../build/_deps/xtensor-src/include/xtensor/chunk/../chunk/../core/../core/../core/xassign.hpp:717:83: error: ‘class xt::xfunctor_view<xt::detail::offset_forwarder<double, 0>, xt::xtensor_container<xt::uvector<std::complex, xsimd::aligned_allocator<std::complex, 32> >, 1, xt::layout_type::row_major, xt::xtensor_expression_tag>&>’ has no member named ‘data’; did you mean ‘at’?
717 | size_type align_begin = is_aligned ? 0 : xt_simd::get_alignment_offset(e1.data(), size, simd_size);
| ~~~^~~~
| at
Activity
Fix SIMD assignment to xfunctor_view destinations (xtensor-stack#2892)