Skip to content

Commit 8c397d9

Browse files
authored
Fix a DeePKS bug. (#6155)
1 parent a5dea9d commit 8c397d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/module_hamilt_lcao/module_deepks/LCAO_deepks_interface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ void LCAO_Deepks_Interface<TK, TR>::out_deepks_labels(const double& etot,
6464
{
6565
// this part is for integrated test of deepks
6666
// so it is printed no matter even if deepks_out_labels is not used
67+
DeePKS_domain::update_dmr(kvec_d, dm->get_DMK_vector(), ucell, orb, *ParaV, GridD, dmr);
68+
6769
DeePKS_domain::cal_pdm<
6870
TK>(init_pdm, inlmax, lmaxd, inl2l, inl_index, kvec_d, dmr, phialpha, ucell, orb, GridD, *ParaV, pdm);
6971

0 commit comments

Comments
 (0)