Skip to content

Commit 50b986c

Browse files
authored
Merge pull request #2536 from gouarin/small-fix
Small fix
2 parents 53ad31c + 03e5ea4 commit 50b986c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

include/xtensor/xcontainer.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ namespace xt
3434
struct xcontainer_iterable_types
3535
{
3636
using inner_shape_type = typename xcontainer_inner_types<D>::inner_shape_type;
37-
using storage_type = typename xcontainer_inner_types<D>::storage_type;
3837
using stepper = xstepper<D>;
3938
using const_stepper = xstepper<const D>;
4039
};

include/xtensor/xexpression.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ namespace xt
527527
using inner_backstrides_type = xtl::mpl::eval_if_t<has_strides<E>,
528528
detail::expr_inner_backstrides_type<E>,
529529
get_strides_type<shape_type>>;
530-
using storage_type = xtl::mpl::eval_if_t<has_data_interface<E>,
530+
using storage_type = xtl::mpl::eval_if_t<has_storage_type<E>,
531531
detail::expr_storage_type<E>,
532532
make_invalid_type<>>;
533533

0 commit comments

Comments
 (0)