diff --git a/include/xtensor/xstrided_view.hpp b/include/xtensor/xstrided_view.hpp index c4a187a80..f16ace56d 100644 --- a/include/xtensor/xstrided_view.hpp +++ b/include/xtensor/xstrided_view.hpp @@ -809,17 +809,17 @@ namespace xt namespace detail { - template + template struct rebind_shape; - template - struct rebind_shape>>::value>> + template + struct rebind_shape> { - using type = S; + using type = xt::fixed_shape; }; template - struct rebind_shape>>::value>> + struct rebind_shape { using type = rebind_container_t; };