-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scipy 1.13 breaks lapy #61
Comments
m-reuter
added
bug
Something isn't working
and removed
bug
Something isn't working
labels
May 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The behaviour of sparse matrix (CSC, CSR) creation has changed in script 1.13 breaking our code. Multiple data entries with the same indices are not summed up any longer but produce duplicate entries, as we do in our adjacency matrices.
I am fixing scipy to <= 1.12 for now in #60
For making lapy work with scipy 1.13 we should wait what they say about my report here:
scipy/scipy#20670
If this is not a bug, but a feature of 1.13, we can create a workaround by initialising the sparse matrix in COO format and then converting to CSC as that sums up duplicate entries again:
https://docs.scipy.org/doc/scipy/reference/sparse.html#example-2
The text was updated successfully, but these errors were encountered: