Skip to content

Commit

Permalink
correct the use of orb_con in esolver_ks_lcao_elec
Browse files Browse the repository at this point in the history
  • Loading branch information
kirk0830 committed Jun 2, 2024
1 parent 92e4070 commit 089fdb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_esolver/esolver_ks_lcao_elec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void ESolver_KS_LCAO<TK, TR>::beforesolver(const int istep)
if (GlobalV::GAMMA_ONLY_LOCAL)
{
nsk = GlobalV::NSPIN;
ncol = this->orb_con.ParaV->ncol_bands;
ncol = this->orb_con.ParaV.ncol_bands;
if (GlobalV::KS_SOLVER == "genelpa" || GlobalV::KS_SOLVER == "lapack_gvx" || GlobalV::KS_SOLVER == "pexsi"
|| GlobalV::KS_SOLVER == "cusolver")
{
Expand Down

0 comments on commit 089fdb0

Please sign in to comment.