We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81731f1 + 8f1f0ee commit 7ae2c4dCopy full SHA for 7ae2c4d
source/src_lcao/LCAO_gen_fixedH.cpp
@@ -1188,7 +1188,7 @@ void LCAO_gen_fixedH::build_Nonlocal_beta_new(double* HSloc) //update by liuyu 2
1188
nlm_tot_thread.resize(adjs_all[iat].size());
1189
#else
1190
std::vector<std::unordered_map<int,std::vector<double>>> nlm_tot;
1191
- nlm_tot.resize(GlobalC::GridD.getAdjacentNum()+1);
+ nlm_tot.resize(adjs_all[iat].size());
1192
#endif
1193
1194
const ModuleBase::Vector3<double> tau0 = atom0->tau[I0];
0 commit comments