Skip to content

Commit c1dc7fd

Browse files
committed
Adding missing rank to xarray_adapter
1 parent d32323a commit c1dc7fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/xtensor/xarray.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ namespace xt
230230
using backstrides_type = typename base_type::backstrides_type;
231231
using temporary_type = typename semantic_base::temporary_type;
232232
using expression_tag = Tag;
233+
constexpr static std::size_t rank = SIZE_MAX;
233234

234235
xarray_adaptor(storage_type&& storage);
235236
xarray_adaptor(const storage_type& storage);

0 commit comments

Comments
 (0)