Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong to_strides_v computation #119

Open
amitsingh19975 opened this issue May 26, 2021 · 0 comments
Open

Wrong to_strides_v computation #119

amitsingh19975 opened this issue May 26, 2021 · 0 comments
Labels

Comments

@amitsingh19975
Copy link
Collaborator

The strides giving wrong strides for static extents, which is not consistent with the other extents types.

    namespace ublas = boost::numeric::ublas;
    using e_t = ublas::extents<2,2>;
    auto s = to_strides_v<e_t, ublas::layout::first_order>; // [1,2], but the right strides should be [1,1]
@bassoy bassoy removed their assignment Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants