Skip to content

Commit

Permalink
Merge pull request xtensor-stack#1100 from JohanMabille/masked_view
Browse files Browse the repository at this point in the history
added missing static_layout and contiguous_layout in xmasked_view
  • Loading branch information
JohanMabille authored Aug 22, 2018
2 parents 1190005 + b2d1cc5 commit 5478878
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/xtensor/xmasked_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ namespace xt
using storage_type = typename data_type::storage_type;

static constexpr layout_type static_layout = value_expression::static_layout;
static constexpr bool contiguous_layout = false;

using inner_shape_type = typename value_expression::inner_shape_type;
using inner_strides_type = typename value_expression::inner_strides_type;
Expand Down

0 comments on commit 5478878

Please sign in to comment.