See https://github.com/xtensor-stack/xtensor/pull/2821
See xtensor-stack/xtensor#2821