Skip to content

Commit c562b60

Browse files
committed
fix bug
1 parent 05e486a commit c562b60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_ri/exx_lip.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Exx_Lip<T, Device>::Exx_Lip(const Exx_Info::Exx_Info_Lip& info_in,
112112
#endif
113113
this->k_pack->wf_wg.create(this->k_pack->kv_ptr->get_nks(),PARAM.inp.nbands);
114114

115-
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);
115+
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);
116116
// this->k_pack->hvec_array = new ModuleBase::ComplexMatrix[this->k_pack->kv_ptr->get_nks()];
117117
// for( int ik=0; ik<this->k_pack->kv_ptr->get_nks(); ++ik)
118118
// {

0 commit comments

Comments
 (0)