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

Switch smawk_row_minima and smawk_column_minima functions to a new Matrix trait #46

Merged
merged 2 commits into from
Aug 23, 2020

Conversation

mgeisler
Copy link
Owner

The new Matrix trait allows us to switch unit tests away from using ndarray::arr2<T> to a simple vec<vec<T>> matrix type. This will in turn allow us to make ndarray optional later.

The smawk_row_minima and smawk_column_minima functions no longer refer
to the ndarray crate directly. Instead they use a trait which we can
implement without using ndarray.
This gives us an easy way to show examples and to do simple tests.
@mgeisler mgeisler merged commit dc846a2 into master Aug 23, 2020
@github-actions github-actions bot mentioned this pull request Sep 2, 2020
@mgeisler mgeisler deleted the matrix-trait branch January 30, 2021 15:48
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.

1 participant