Skip to content

Commit d04e97d

Browse files
committed
small bug fixed
1 parent 5ade8bb commit d04e97d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/source_estate/module_charge/chgmixing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ void module_charge::chgmixing_ks(const int iter, // scf iteration number
116116
// mohan move the following code here, 2025-10-18
117117
// SCF restart information
118118
if (PARAM.inp.mixing_restart > 0
119-
&& iter == this->p_chgmix->mixing_restart_step - 1
119+
&& iter == p_chgmix->mixing_restart_step - 1
120120
&& iter != PARAM.inp.scf_nmax)
121121
{
122-
this->p_chgmix->mixing_restart_last = iter;
122+
p_chgmix->mixing_restart_last = iter;
123123
std::cout << " SCF restart after this step!" << std::endl;
124124
}
125125

0 commit comments

Comments
 (0)