Skip to content

Commit

Permalink
correct for exx
Browse files Browse the repository at this point in the history
  • Loading branch information
kirk0830 committed Jun 2, 2024
1 parent 089fdb0 commit fe71e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_esolver/esolver_ks_lcao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ void ESolver_KS_LCAO<TK, TR>::iter_finish(int iter)
if (GlobalC::restart.info_save.save_H && two_level_step > 0 &&
(!GlobalC::exx_info.info_global.separate_loop || iter == 1)) // to avoid saving the same value repeatedly
{
std::vector<TK> Hexxk_save(this->orb_con.ParaV->get_local_size());
std::vector<TK> Hexxk_save(this->orb_con.ParaV.get_local_size());
for (int ik = 0; ik < this->kv.get_nks(); ++ik)
{
ModuleBase::GlobalFunc::ZEROS(Hexxk_save.data(), Hexxk_save.size());
Expand Down

0 comments on commit fe71e34

Please sign in to comment.