Skip to content

Commit 2e9417f

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 803408d commit 2e9417f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_hamilt_general/module_surchem/cal_vcav.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ void lapl_rho(const double& tpiba2,
2626
// bring the gdr from G --> R
2727
rho_basis->recip2real(aux, aux);
2828
// remember to multily 2pi/a0, which belongs to G vectors.
29-
for (int ir = 0; ir < rho_basis->nrxx; ir++)
29+
for (int ir = 0; ir < rho_basis->nrxx; ir++) {
3030
lapn[ir] -= aux[ir].real() * tpiba2;
31+
}
3132

3233
}
3334

0 commit comments

Comments
 (0)