Skip to content

Commit b0621cd

Browse files
committed
Merge branch 'develop' of ..\..\vdw2\abacus-develop\ into develop
2 parents f1020a7 + 7ae2c4d commit b0621cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/src_lcao/LCAO_gen_fixedH.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ void LCAO_gen_fixedH::build_Nonlocal_beta_new(double* HSloc) //update by liuyu 2
11881188
nlm_tot_thread.resize(adjs_all[iat].size());
11891189
#else
11901190
std::vector<std::unordered_map<int,std::vector<double>>> nlm_tot;
1191-
nlm_tot.resize(GlobalC::GridD.getAdjacentNum()+1);
1191+
nlm_tot.resize(adjs_all[iat].size());
11921192
#endif
11931193

11941194
const ModuleBase::Vector3<double> tau0 = atom0->tau[I0];

0 commit comments

Comments
 (0)