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

ToNdarray2 for nalgebra:Matrix<VecStorage>: fix representation #6

Merged
merged 1 commit into from
May 8, 2021

Conversation

cassiersg
Copy link
Contributor

nalgebra::Matrix with VecStorage uses column-major order, while by
default ndarray uses row-major order.
This adds explicit strides to the ndarray constructor.

nalgebra::Matrix with VecStorage uses column-major order, while by
default ndarray uses row-major order.
This adds explicit strides to the ndarray constructor.
@vadixidav
Copy link
Member

Thanks for finding this. I am sure this confused me at one point. Looks good to me.

@vadixidav vadixidav merged commit e3f3fce into rust-cv:master May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants