We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1499d9 + d2009ca commit 9525d1cCopy full SHA for 9525d1c
include/xtensor/xstrided_view.hpp
@@ -81,7 +81,7 @@ namespace xt
81
using undecay_shape = S;
82
using storage_getter = FST;
83
using inner_storage_type = typename storage_getter::type;
84
- using temporary_type = typename detail::xtype_for_shape<S>::template type<typename xexpression_type::value_type, L>;
+ using temporary_type = typename detail::xtype_for_shape<S>::template type<typename xexpression_type::value_type, xexpression_type::static_layout>;
85
using storage_type = std::remove_reference_t<inner_storage_type>;
86
static constexpr layout_type layout = L;
87
};
0 commit comments