Skip to content

Commit

Permalink
reintroduce strides which were lost in refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
boeschf committed Apr 23, 2024
1 parent 5b83a92 commit c6d95ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ register_field_descriptor(pybind11::module& m)
std::size_t levels =
(info.ndim == 1) ? 1u : (std::size_t)info.shape[1];

return type{dom, static_cast<T*>(info.ptr), levels, levels_first};
return type{dom, static_cast<T*>(info.ptr), levels, levels_first, outer_strides};
}),
pybind11::keep_alive<0, 2>());
});
Expand Down

0 comments on commit c6d95ef

Please sign in to comment.