You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
dyzheng
committed
Fix(lcao): fix uninitialized local variables in hamilt2rho_single
Commit a0c6474 introduced self-referencing local variable declarations
(e.g., const int nspin = nspin) which read uninitialized stack memory.
This caused SIGSEGV in LCAO tests (01_LCAO_SPIN_S2_Z, 03_LCAO_DFTU_S2_Z).
Fixed by properly initializing from PARAM.inp values.
0 commit comments