Skip to content

Commit 9c014d8

Browse files
committed
Merge branch 'hotfix' of https://github.com/Qianruipku/abacus-develop into hotfix
2 parents f21de7c + b7a7e1b commit 9c014d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_hamilt_pw/hamilt_stodft/sto_elecond.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,9 @@ void Sto_EleCond::cal_jmatrix(const psi::Psi<std::complex<float>>& kspsi_all,
386386

387387
remain -= tmpnb;
388388
startnb += tmpnb;
389-
if (remain == 0)
389+
if (remain == 0) {
390390
break;
391+
}
391392
}
392393

393394
for (int id = 0; id < ndim; ++id)

0 commit comments

Comments
 (0)