Skip to content

Commit 5552742

Browse files
authored
Merge pull request #1204 from ddhhss/develop
Fix:Bug in parallel computing of compensating force.
2 parents 013791e + d28aa48 commit 5552742

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/module_surchem/H_correction_pw.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ void surchem::cal_comp_force(ModuleBase::matrix &force_comp, ModulePW::PW_Basis
287287
++iat;
288288
}
289289
}
290+
Parallel_Reduce::reduce_double_pool(force_comp.c, force_comp.nr * force_comp.nc);
290291
delete[] vloc_at;
291292
delete[] N;
292293
delete[] phi_comp_G;

0 commit comments

Comments
 (0)