Skip to content

Store the parsed matrix in Cp2kOverlapMatrix.read_ascii_csr#26

Merged
yakutovicha merged 2 commits into
mainfrom
fix/split-read-asciee-csr-fix
Jul 21, 2026
Merged

Store the parsed matrix in Cp2kOverlapMatrix.read_ascii_csr#26
yakutovicha merged 2 commits into
mainfrom
fix/split-read-asciee-csr-fix

Conversation

@yakutovicha

Copy link
Copy Markdown
Member

Why: read_ascii_csr built a sparse matrix but never assigned it,
so self.sparse_mat stayed None. In this PR, we assign the
completed matrix to self.sparse_mat at the end of the method.

@yakutovicha
yakutovicha requested a review from cpignedoli July 21, 2026 07:56
@yakutovicha
yakutovicha merged commit f51dc1b into main Jul 21, 2026
2 checks passed
@yakutovicha
yakutovicha deleted the fix/split-read-asciee-csr-fix branch July 21, 2026 08:09
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

Successfully merging this pull request may close these issues.

2 participants