Skip to content

Conversation

@AsTonyshment
Copy link
Collaborator

Linked Issue

Fix #6057

What's changed?

The bug occurred because wg_wfc was constructed but not initialized with wavefunction data during Psi refactoring, causing uninitialized values in calculations.

Copy link

@haozhihan haozhihan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mohanchen mohanchen added the Bugs Bugs that only solvable with sufficient knowledge of DFT label Mar 27, 2025
@mohanchen mohanchen merged commit cdc88cf into deepmodeling:develop Mar 27, 2025
14 checks passed
@AsTonyshment AsTonyshment deleted the fix_pchg_nan branch March 27, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugs Bugs that only solvable with sufficient knowledge of DFT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: LCAO band-decomposed charge density (get_pchg): nan values and non-normalized results

3 participants