xtensor-stack / xtensor

C++ tensors with broadcasting and lazy computing
BSD 3-Clause "New" or "Revised" License
3.36k stars 398 forks source link

Minor xindex_view to_array cleanup #2765

Closed laramiel closed 10 months ago

laramiel commented 10 months ago

#include <array> for std::array Namespace qualify to_array as xt::to_array to avoid ambiguous overload from adl of std::array. Note: This could, perhaps, be std::to_array instead.