Skip to content

Commit 78a3697

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 7f9461a commit 78a3697

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/module_basis/module_ao/ORB_nonlocal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Numerical_Nonlocal
4444

4545
Numerical_Nonlocal_Lm* Proj; ///< length: nproj(only store radial function )
4646

47-
const double& get_rcut_max(void) const { return rcut_max; }
47+
const double& get_rcut_max() const { return rcut_max; }
4848
const int& get_nproj() const { return nproj; }
4949

5050
private:

source/module_basis/module_pw/pw_basis_k_big.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ class PW_Basis_K_Big: public PW_Basis_K
5454
for(int ip = 0 ; ip < this->poolnproc ; ++ip)
5555
{
5656
this->numz[ip] = npbz*this->bz;
57-
if(ip < modbz) this->numz[ip]+=this->bz;
57+
if(ip < modbz) { this->numz[ip]+=this->bz;
58+
}
5859
if(ip < this->poolnproc - 1) this->startz[ip+1] = this->startz[ip] + numz[ip];
5960
if(ip == this->poolrank)
6061
{

0 commit comments

Comments
 (0)