DrTimothyAldenDavis / SuiteSparse

The official SuiteSparse library: a suite of sparse matrix algorithms authored or co-authored by Tim Davis, Texas A&M University.
https://people.engr.tamu.edu/davis/suitesparse.html
Other
1.15k stars 259 forks source link

SPEXpy: invalid reference to scipy.Inf #848

Closed svillemot closed 2 months ago

svillemot commented 3 months ago

At least on Debian, the following line triggers an error: https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/26ababc7f3af725c5fb9168a1b94850eab74b666/SPEX/Python/SPEXpy/cholesky_backslash.py#L34

There is apparently no scipy.Inf. Replacing it with numpy.Inf fixes it.

LoreMD commented 2 months ago

Thanks for reporting. This has been fixed in SPEX 3.2.0.

DrTimothyAldenDavis commented 2 months ago

It's been fixed here: https://github.com/clouren/SPEX/tree/SPEX-3.2.0 . We'll copy those changes into the SuiteSparse repo here.

DrTimothyAldenDavis commented 2 months ago

Fixed in SuiteSparse 7.8.0