Skip to content

Commit

Permalink
Fix: error again
Browse files Browse the repository at this point in the history
  • Loading branch information
dyzheng committed Sep 3, 2024
1 parent 9a8e15c commit 2945799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_hamilt_pw/hamilt_pwdft/stress_pw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void Stress_PW<FPTYPE, Device>::cal_stress(ModuleBase::matrix& sigmatot,
// DFT+U and DeltaSpin stress
if(PARAM.inp.dft_plus_u || PARAM.inp.sc_mag_switch)
{
this->stress_onsite(sigmaonsite, this->pelec->wg, wfc_basis, ucell, psi_in, p_symm);
this->stress_onsite(sigmaonsite, this->pelec->wg, wfc_basis, ucell, d_psi_in, p_symm);
}

for (int ipol = 0; ipol < 3; ipol++)
Expand Down

0 comments on commit 2945799

Please sign in to comment.