Skip to content

Commit 68a6072

Browse files
authored
Update deepks_lcao.cpp
1 parent 7a6a4b1 commit 68a6072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/deepks_lcao.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ void hamilt::DeePKS<hamilt::OperatorLCAO<TK, TR>>::cal_HR_IJR(const double* hr_i
497497

498498
inline void get_h_delta_k(int ik, double*& h_delta_k)
499499
{
500-
h_delta_k = GlobalC::ld.H_V_delta[0].data();
500+
h_delta_k = GlobalC::ld.H_V_delta[ik].data();
501501
return;
502502
}
503503
inline void get_h_delta_k(int ik, std::complex<double>*& h_delta_k)

0 commit comments

Comments
 (0)