Skip to content

Commit b7a7e1b

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 5f21751 commit b7a7e1b

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)