Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhihan committed Jan 17, 2025
1 parent 05e486a commit c562b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_ri/exx_lip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Exx_Lip<T, Device>::Exx_Lip(const Exx_Info::Exx_Info_Lip& info_in,
#endif
this->k_pack->wf_wg.create(this->k_pack->kv_ptr->get_nks(),PARAM.inp.nbands);

this->k_pack->hvec_array = new psi::Psi<T, Device>(this->k_pack->kv_ptr->get_nks(), PARAM.inp.nbands, PARAM.globalv.nlocal, kv_ptr_in->ngk.data(), true);
this->k_pack->hvec_array = new psi::Psi<T, Device>(this->k_pack->kv_ptr->get_nks(), PARAM.inp.nbands, PARAM.globalv.nlocal, kv_ptr_in->ngk, true);
// this->k_pack->hvec_array = new ModuleBase::ComplexMatrix[this->k_pack->kv_ptr->get_nks()];
// for( int ik=0; ik<this->k_pack->kv_ptr->get_nks(); ++ik)
// {
Expand Down

0 comments on commit c562b60

Please sign in to comment.