Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Nov 25, 2024
1 parent 09cc44f commit 4626424
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/module_rdmft/rdmft_cal_hamilt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ void RDMFT<TK, TR>::cal_V_XC()
DM_XC = symrot_exx.restore_dm(*this->kv, DM_XC, *ParaV); // class vector could be auto resize()
}
std::vector< const std::vector<TK>* > DM_XC_pointer(DM_XC.size());
for(int ik=0; ik<DM_XC.size(); ++ik) DM_XC_pointer[ik] = &DM_XC[ik];
for(int ik=0; ik<DM_XC.size(); ++ik) { DM_XC_pointer[ik] = &DM_XC[ik];
}

if (GlobalC::exx_info.info_ri.real_number)
{
Expand Down

0 comments on commit 4626424

Please sign in to comment.