Skip to content

Conversation

@RLado
Copy link
Owner

@RLado RLado commented Mar 16, 2025

Implemented generics for Sprs: Sprs<f64> is now Sprs<T> where T can be any float type

RLado added 7 commits March 3, 2025 21:38
- Sprs<f64> is now Sprs<T> where T can be any float type (trait defined in data.rs)
- Can no longer use overloaded operators (+, -, *) `T` 'op' `Sprs<T>` but the reverse is valid `Sprs<T>` 'op' `T`
- Lacks tests for other floats
@RLado RLado merged commit ba6419b into master Mar 16, 2025
1 check passed
@RLado RLado deleted the generics branch March 16, 2025 21:07
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.

2 participants