Skip to content

Commit 50f7e39

Browse files
author
wenfei-li
committed
Merge branch 'develop' of github.com:deepmodeling/abacus-develop into develop
2 parents 1f5dcbe + 06cc53d commit 50f7e39

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

source/module_cell/setup_nonlocal.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ InfoNonlocal::InfoNonlocal()
1111
{
1212
this->Beta = new Numerical_Nonlocal[1];
1313
this->nproj = new int[1];
14-
this->nprojmax = 0;
14+
this->nprojmax = 0;
15+
this->rcutmax_Beta = 0.0;
1516
}
1617
InfoNonlocal::~InfoNonlocal()
1718
{

source/module_orbital/ORB_read.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ LCAO_Orbitals::LCAO_Orbitals()
3030
this->dr_uniform = 0.001;
3131

3232
this->lmax_d = 0;
33-
this->nchimax_d = 0;
33+
this->nchimax_d = 0;
34+
this->rcutmax_Phi = 0.0;
3435
}
3536

3637
LCAO_Orbitals::~LCAO_Orbitals()

source/src_pw/test/diago_david_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ TEST(DiagoDavRealSystemTest,dataH)
122122
ModuleBase::ComplexMatrix hmatrix;
123123
std::ifstream ifs("data-H");
124124
DIAGOTEST::readh(ifs,hmatrix);
125+
ifs.close();
125126
DIAGOTEST::hmatrix = hmatrix;
126127
DIAGOTEST::npw = hmatrix.nc;
127128

0 commit comments

Comments
 (0)