In short, this disables the alga feature of the sprs crate. It is enabled by default and we don't use those traits, so the code still compiles and our tests still pass.
It also solves the annoying issue of having a older num-complex in Cargo.lock, because sometimes cargo update swaps the version we use which causes issues with PyO3 and ndarray/NumPy.
In short, this disables the
alga
feature of thesprs
crate. It is enabled by default and we don't use those traits, so the code still compiles and our tests still pass.It also solves the annoying issue of having a older
num-complex
in Cargo.lock, because sometimescargo update
swaps the version we use which causes issues with PyO3 and ndarray/NumPy.