Skip to content

Commit b22d404

Browse files
committed
fix compiling failed after merging
1 parent 6eeb2c2 commit b22d404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/src_pw/sto_forces.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "vdwd2.h"
44
#include "vdwd3.h"
55
#include "../module_symmetry/symmetry.h"
6-
#include "./efield.h"
6+
#include "../module_surchem/efield.h"
77
#include "../module_base/mathzone.h"
88

99
// new
@@ -42,7 +42,7 @@ void Sto_Forces::init(ModuleBase::matrix& force, Stochastic_WF& stowf)
4242
if(GlobalV::EFIELD)
4343
{
4444
force_e.create( GlobalC::ucell.nat, 3);
45-
Efield::compute_force(force_e);
45+
Efield::compute_force(GlobalC::ucell, force_e);
4646
}
4747

4848
for (int ipol = 0; ipol < 3; ipol++)

0 commit comments

Comments
 (0)