Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Dec 16, 2024
1 parent 803408d commit 2e9417f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/module_hamilt_general/module_surchem/cal_vcav.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ void lapl_rho(const double& tpiba2,
// bring the gdr from G --> R
rho_basis->recip2real(aux, aux);
// remember to multily 2pi/a0, which belongs to G vectors.
for (int ir = 0; ir < rho_basis->nrxx; ir++)
for (int ir = 0; ir < rho_basis->nrxx; ir++) {
lapn[ir] -= aux[ir].real() * tpiba2;
}

}

Expand Down

0 comments on commit 2e9417f

Please sign in to comment.