Skip to content

Commit 3e76325

Browse files
authored
Merge pull request #821 from maki49/develop
fix uninited rcutmax
2 parents 41386d0 + 7c2f518 commit 3e76325

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-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()

0 commit comments

Comments
 (0)