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

[fix] Fixed bug in direct XML parsing of UPF v2 PPs #1006

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

abussy
Copy link
Collaborator

@abussy abussy commented Jun 17, 2024

Fixed bug when parsing UPF files without NLCC. When there is no core correction, the default json behavior is to allocate an array for it filled with zeros. So far, the pugixml parser gave a size zero vector, leading to a crash. This PR fixes it.

@toxa81
Copy link
Collaborator

toxa81 commented Jul 1, 2024

cscs-ci run default

@toxa81
Copy link
Collaborator

toxa81 commented Jul 16, 2024

cscs-ci run

@toxa81 toxa81 merged commit b5bac0e into electronic-structure:develop Jul 16, 2024
3 checks passed
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