Skip to content

Commit 322cec6

Browse files
committed
Fix merge bug.
1 parent 4ed1725 commit 322cec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_hamilt_lcao/module_deepks/deepks_force.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ void DeePKS_domain::cal_f_delta(const std::vector<std::vector<TK>>& dm,
3030
f_delta.zero_out();
3131

3232
const int lmaxd = orb.get_lmax_d();
33+
const double Rcut_Alpha = orb.Alpha[0].getRcut();
3334

3435
#pragma omp parallel
3536
{
@@ -76,8 +77,8 @@ void DeePKS_domain::cal_f_delta(const std::vector<std::vector<TK>>& dm,
7677
continue;
7778
}
7879

79-
double r0[3]{};
8080
double r1[3]{};
81+
double r2[3]{};
8182
if (isstress)
8283
{
8384
r1[0] = (tau1.x - tau0.x);

0 commit comments

Comments
 (0)