Printing the result of select throws an error
martinRenou opened this issue · 0 comments
martinRenou commented
auto x = select(var1, {{"abscissa", "a"}});
std::cout << x;
Throws this error:
In file included from input_line_7:4:
In file included from /home/user/local/include/xtensor/xio.hpp:21:
In file included from /home/user/local/include/xtensor/xmath.hpp:27:
/home/user/local/include/xtensor/xstrided_view.hpp:1092:111: error: no member named 'layout' in 'xf::xvariable_view<xf::xvariable<xf::xcoordinate<xtl::xbasic_fixed_string<char, 55, string_policy::silent_error, std::char_traits<char> >, unsigned long, xf::hash_map_tag,
xtl::mpl::vector<int, unsigned long, char, xtl::xbasic_fixed_string<char, 55, string_policy::silent_error, std::char_traits<char> > > >, xt::xoptional_assembly<xt::xarray_container<xt::uvector<double,
std::allocator<double> >, xt::layout_type::row_major, xt::svector<unsigned long, 4, std::allocator<unsigned long>, true>, xt::xtensor_expression_tag>, xt::xarray_container<xt::uvector<bool,
std::allocator<bool> >, xt::layout_type::row_major, xt::svector<unsigned long, 4, std::allocator<unsigned long>, true>, xt::xtensor_expression_tag> > > &>'
auto args = detail::get_strided_view_args(e.shape(), detail::get_strides(e), detail::get_offset(e), e.layout(), slices);