dimforge / nalgebra

Linear algebra library for Rust.
https://nalgebra.org
Apache License 2.0
4.05k stars 485 forks source link

Add Default impl for CooMatrix #1443

Open maxime-tournier opened 1 month ago

maxime-tournier commented 1 month ago

Hello,

Just a small PR to make CooMatrix implement the Default trait.

I don't know whether Default was not implemented on purpose, but since CscMatrix implements it I figured this would be helpful too.