Skip to content

Commit 89ffb98

Browse files
committed
modify the type in lat0
1 parent 76d023b commit 89ffb98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/module_cell/read_stru.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace unitcell
66
{
77
bool check_tau(const Atom* atoms,
8-
const int ntype,
9-
const int lat0)
8+
const int& ntype,
9+
const double& lat0)
1010
{
1111
ModuleBase::TITLE("UnitCell","check_tau");
1212
ModuleBase::timer::tick("UnitCell","check_tau");

source/module_cell/read_stru.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
namespace unitcell
77
{
88
bool check_tau(const Atom* atoms,
9-
const int ntype,
10-
const int lat0);
9+
const int& ntype,
10+
const double& lat0);
1111

1212
bool read_atom_species(std::ifstream& ifa,
1313
std::ofstream& ofs_running,

0 commit comments

Comments
 (0)