Commit 9511c8b
abacus_fixer
Fix uninitialized radial_c pointer in toW90_PW trial orbital setup
Commit 385e5d5 replaced the inline radial_in_q[wannier_index].c
expressions with a radial_c variable but left it self-initialized,
so produce_trial_in_pw dereferenced an indeterminate pointer during
Amn/Mmn trial orbital interpolation and crashed (101_PW_W90 segfault).
Initialize radial_c from radial_in_q[wannier_index].c. Verified by
rebuilding abacus_max_para and rerunning the 101_PW_W90 case with
4 MPI processes: etotref, etotperatomref, CompareAMN, CompareMMN and
CompareEIG all pass; agent_governance_check reports no findings.1 parent b839503 commit 9511c8b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments