diff --git a/include/cute/layout.hpp b/include/cute/layout.hpp index 6ebdc630..97eafa7a 100644 --- a/include/cute/layout.hpp +++ b/include/cute/layout.hpp @@ -1356,7 +1356,7 @@ left_inverse(Layout const& layout) CUTE_GCC_UNREACHABLE; }); - return coalesce(make_layout(append(result_shape, get(lshape)), + return coalesce(make_layout(append(result_shape, get(lshape)), result_stride)); }