Skip to content
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

Open
m-reuter opened this issue May 8, 2024 · 0 comments
Open

scipy 1.13 breaks lapy #61

m-reuter opened this issue May 8, 2024 · 0 comments

Comments

@m-reuter
Copy link
Member

m-reuter commented May 8, 2024

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

@m-reuter 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant