Skip to content

Commit e472b8f

Browse files
committed
modify variable name
1 parent afaf54d commit e472b8f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/module_hamilt_lcao/module_gint/temp_gint/unitcell_info.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ namespace ModuleGint
55
{
66

77
UnitCellInfo::UnitCellInfo(
8-
Vec3d unitcell_vec1,
9-
Vec3d unitcell_vec2,
10-
Vec3d unitcell_vec3,
8+
const Vec3d& unitcell_vec1,
9+
const Vec3d& unitcell_vec2,
10+
const Vec3d& unitcell_vec3,
1111
int nbx, int nby, int nbz,
1212
int nmx, int nmy, int nmz)
1313
: unitcell_vec1_(unitcell_vec1),

source/module_hamilt_lcao/module_gint/temp_gint/unitcell_info.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ class UnitCellInfo
1414
public:
1515
// constructor
1616
UnitCellInfo(
17-
Vec3d unitcell_vec1,
18-
Vec3d unitcell_vec2,
19-
Vec3d unitcell_vec3,
17+
const Vec3d& unitcell_vec1,
18+
const Vec3d& unitcell_vec2,
19+
const Vec3d& unitcell_vec3,
2020
int nbx, int nby, int nbz,
2121
int nmx, int nmy, int nmz);
2222

0 commit comments

Comments
 (0)