Skip to content

Commit 9a51ca3

Browse files
committed
fix compile bug
1 parent f9cc2b9 commit 9a51ca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_cell/read_atom_species.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bool read_atom_species(std::ifstream& ifa,
3333
{
3434
std::getline(ifa, one_line);
3535
ss << one_line;
36-
ss >> ucell.atom_label[i]
36+
ss >> ucell.atom_label[i];
3737
ss >> ucell.atom_mass[i];
3838
ucell.pseudo_fn[i] = "auto";
3939
ucell.pseudo_type[i] = "auto";
@@ -103,7 +103,7 @@ bool read_atom_species(std::ifstream& ifa,
103103
ucell.descriptor_file = PARAM.inp.orbital_dir + ucell.orbital_fn[0];
104104
}
105105
}
106-
#ifdef (__LCAO) && (__MPI) && (__EXX)
106+
#if defined(__LCAO) && defined(__MPI) && defined(__EXX)
107107
// Peize Lin add 2016-09-23
108108
if( GlobalC::exx_info.info_global.cal_exx || PARAM.inp.rpa )
109109
{

0 commit comments

Comments
 (0)