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

relax trait requirements for binary operations. #320

Merged
merged 2 commits into from Jan 11, 2023

Conversation

taketo1024
Copy link
Contributor

Following #319, I have relaxed the trait requirements for Add, Sub etc for CsVec, so that in particular we can add and subtract vectors with scalar types that does not necessarily implement the num_traits::Num trait.

@mulimoen
Copy link
Collaborator

mulimoen commented Jan 3, 2023

This looks great! Would you mind rebasing on master to include the clippy lint fixes?

@taketo1024
Copy link
Contributor Author

taketo1024 commented Jan 10, 2023

Sorry for the late reply.

Would you mind rebasing on master to include the clippy lint fixes?

Sure!

@taketo1024
Copy link
Contributor Author

I have rebased relax_trait_restr on master and checked that test runs ok in sprs.

@mulimoen mulimoen merged commit a0da7bd into sparsemat:master Jan 11, 2023
@mulimoen
Copy link
Collaborator

Thanks for this PR @taketo1024!

@taketo1024 taketo1024 deleted the relax_trait_restr branch January 12, 2023 01:38
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