Skip to content

Commit 6c7105e

Browse files
committed
fix bug
1 parent 292d41f commit 6c7105e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_esolver/esolver_ks_lcaopw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ namespace ModuleESolver
147147
}
148148

149149
hsolver::HSolverLIP<T> hsolver_lip_obj(this->pw_wfc);
150-
hsolver_lip_obj.solve(this->p_hamilt, this->kspw_psi[0], this->pelec, psig.lock().get()[0], skip_charge,ucell.tpiba,ucell.nat);
150+
hsolver_lip_obj.solve(this->p_hamilt, this->kspw_psi[0], this->pelec, psig[0], skip_charge, ucell.tpiba, ucell.nat);
151151

152152
// add exx
153153
#ifdef __EXX

0 commit comments

Comments
 (0)