Skip to content

Commit f44f701

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent fd7f76e commit f44f701

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/module_cell/atom_spec.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Atom::~Atom()
1010
{
1111
}
1212

13-
void Atom::set_index(void)
13+
void Atom::set_index()
1414
{
1515
assert(nw != 0);
1616
this->iw2l.resize(nw, 0);
@@ -75,7 +75,7 @@ void Atom::print_Atom(std::ofstream& ofs)
7575

7676
#include "module_base/parallel_common.h"
7777
#ifdef __MPI
78-
void Atom::bcast_atom(void)
78+
void Atom::bcast_atom()
7979
{
8080
Parallel_Common::bcast_int(type);
8181
Parallel_Common::bcast_int(na);

source/module_cell/unitcell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class UnitCell {
188188
int nmax_total = 0; // mohan add 2009-09-10
189189
int lmax_ppwf = 0;
190190
int lmaxmax = 0; // liuyu 2021-07-04
191-
bool init_vel = 0; // liuyu 2021-07-15
191+
bool init_vel = false; // liuyu 2021-07-15
192192
// double nelec;
193193

194194
private:

0 commit comments

Comments
 (0)