Open peanutfun opened 2 weeks ago
Petals compatibility tests are failing because we sometimes assign LIL matrices there instead of CSR matrices. This can be fixed before or after merging this PR.
Petals compatibility is addressed here: CLIMADA-project/climada_petals#129
@chahank What do you think about this updated version? I still have to adapt the test.
@chahank Waiting for your responses to move forward 😇 👉 👈
Changes proposed in this PR:
csr_matrix.data
attribute reflects the exact values present in the matrix.This PR fixes inconsistencies in the csr matrix reported in #891, but does not fix the problem of unintentionally summed values (it just ensures this problem is visible when looking at the matrix data).
PR Author Checklist
develop
)PR Reviewer Checklist