sparsemat / sprs

sparse linear algebra library for rust
Apache License 2.0
381 stars 45 forks source link

Serde deserialization for IndPtr #246

Closed mulimoen closed 3 years ago

mulimoen commented 3 years ago

This does not uphold the invariants of IndPtr, but this would be easier to introduce in #237

Flattening IndPtr gives us backwards compatibility.

vbarrielle commented 3 years ago

Thanks for this fix! It's nice that you managed to keep the serialization backwards compatible!