@@ -50,15 +50,6 @@ namespace xt
5050
5151 namespace detail
5252 {
53- /* ***********************************
54- * layout_remove_any implementation *
55- ************************************/
56-
57- constexpr layout_type layout_remove_any (const layout_type layout)
58- {
59- return layout == layout_type::any ? XTENSOR_DEFAULT_LAYOUT : layout;
60- }
61-
6253 /* *********************************
6354 * has_same_layout implementation *
6455 **********************************/
@@ -102,7 +93,7 @@ namespace xt
10293 ****************************************/
10394
10495 template <class E , layout_type L>
105- using as_xarray_container_t = xarray<typename std::decay_t <E>::value_type, detail:: layout_remove_any(L)>;
96+ using as_xarray_container_t = xarray<typename std::decay_t <E>::value_type, layout_remove_any(L)>;
10697
10798 /* ****************************************
10899 * as_xtensor_container_t implementation *
@@ -111,7 +102,7 @@ namespace xt
111102 template <class E , layout_type L>
112103 using as_xtensor_container_t = xtensor<typename std::decay_t <E>::value_type,
113104 std::tuple_size<typename std::decay_t <E>::shape_type>::value,
114- detail:: layout_remove_any (L)>;
105+ layout_remove_any (L)>;
115106 }
116107
117108 /* *
0 commit comments