Skip to content

Commit 4fefedb

Browse files
committed
Fix elecstate_tools.cpp according to Copilot auto review
1 parent 1b8e000 commit 4fefedb

13 files changed

Lines changed: 400 additions & 190 deletions

File tree

source/source_esolver/esolver_ks_lcaopw.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ namespace ModuleESolver
145145
hsolver::HSolverLIP<T> hsolver_lip_obj(this->pw_wfc,
146146
PARAM.globalv.use_uspp,
147147
this->inp_->basis_type,
148-
this->inp_->calculation);
148+
this->inp_->calculation,
149+
this->inp_->nbands);
149150
hsolver_lip_obj.solve(static_cast<hamilt::Hamilt<T>*>(this->p_hamilt), *this->stp.template get_psi_t<T, base_device::DEVICE_CPU>(), this->pelec,
150151
*this->psi_local, skip_charge,ucell.tpiba,ucell.nat, this->general_exx_info_);
151152

0 commit comments

Comments
 (0)