File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ void LCAO_Matrix::allocate_HS_gamma(const long &nloc)
7878 this ->Sloc .resize (nloc);
7979 this ->Hloc_fixed .resize (nloc);
8080 this ->Hloc .resize (nloc);
81- this ->Sdiag .resize (nloc);
81+ // this->Sdiag.resize(nloc);
8282
8383 ModuleBase::GlobalFunc::ZEROS (Sloc.data (),nloc);
8484 ModuleBase::GlobalFunc::ZEROS (Hloc_fixed.data (),nloc);
8585 ModuleBase::GlobalFunc::ZEROS (Hloc.data (),nloc);
86- ModuleBase::GlobalFunc::ZEROS (Sdiag.data (),nloc); // mohan add 2021-01-30
86+ // ModuleBase::GlobalFunc::ZEROS(Sdiag.data(),nloc); // mohan add 2021-01-30
8787
8888 return ;
8989}
@@ -102,7 +102,7 @@ void LCAO_Matrix::allocate_HS_k(const long &nloc)
102102 this ->Sloc2 .resize (nloc);
103103 this ->Hloc_fixed2 .resize (nloc);
104104 this ->Hloc2 .resize (nloc);
105- this ->Sdiag2 .resize (nloc);
105+ // this->Sdiag2.resize(nloc);
106106
107107 ModuleBase::GlobalFunc::ZEROS (Sloc2.data (),nloc);
108108 ModuleBase::GlobalFunc::ZEROS (Hloc_fixed2.data (),nloc);
You can’t perform that action at this time.
0 commit comments