Skip to content

Commit cf4a4db

Browse files
Update source/module_esolver/esolver_ks.cpp
update corresponding comment Co-authored-by: dyzheng <[email protected]>
1 parent 603d01c commit cf4a4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_esolver/esolver_ks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ void ESolver_KS<T, Device>::iter_finish(int& iter)
673673
this->pelec->f_en.etot_old = this->pelec->f_en.etot;
674674

675675
// add a energy threshold for SCF convergence
676-
if (this->scf_ene_thr > 0.0 && this->conv_esolver == 1) // only check when density is not converged
676+
if (this->scf_ene_thr > 0.0 && this->conv_esolver == 1) // only check when density is converged
677677
{
678678
this->conv_esolver
679679
= (std::abs(this->pelec->f_en.etot_delta * ModuleBase::Ry_to_eV) < this->scf_ene_thr);

0 commit comments

Comments
 (0)