Skip to content

Commit 256e34a

Browse files
committed
fix a merge bug
1 parent 0f62a9f commit 256e34a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

source/module_cell/module_neighbor/sltk_grid_driver.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Grid_Driver : public Grid
7272
void Find_atom(const UnitCell& ucell,
7373
const int ntype,
7474
const int nnumber,
75-
AdjacentAtomInfo* adjs = nullptr) const;
75+
AdjacentAtomInfo* adjs = nullptr) const;
7676

7777
// cartesian_posi and ucell is deprecated 20241204 zhanghaochong
7878
// this interface is deprecated, please use Find_atom above
@@ -81,7 +81,7 @@ class Grid_Driver : public Grid
8181
const ModuleBase::Vector3<double>& cartesian_posi,
8282
const int& ntype,
8383
const int& nnumber,
84-
AdjacentAtomInfo* adjs = nullptr) const;
84+
AdjacentAtomInfo* adjs = nullptr) const;
8585
//==========================================================
8686
// EXPLAIN : The adjacent information for the input
8787
// cartesian_pos

source/module_elecstate/module_dm/test/test_dm_io.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void Grid_Driver::Find_atom(const UnitCell& ucell,
4848
const ModuleBase::Vector3<double>& tau,
4949
const int& T,
5050
const int& I,
51-
AdjacentAtomInfo* adjs)
51+
AdjacentAtomInfo* adjs) const
5252
{
5353
}
5454
Grid::Grid(const int& test_grid_in) : test_grid(test_grid_in)

source/module_elecstate/module_dm/test/tmp_mocks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void Grid_Driver::Find_atom(const UnitCell& ucell,
7878
const ModuleBase::Vector3<double>& tau,
7979
const int& T,
8080
const int& I,
81-
AdjacentAtomInfo* adjs)
81+
AdjacentAtomInfo* adjs) const
8282
{
8383
adjs->adj_num = ucell.nat - 1;
8484
adjs->adjacent_tau.resize(ucell.nat);

source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/test/tmp_mocks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void Grid_Driver::Find_atom(const UnitCell& ucell,
156156
const ModuleBase::Vector3<double>& tau,
157157
const int& T,
158158
const int& I,
159-
AdjacentAtomInfo* adjs)
159+
AdjacentAtomInfo* adjs) const
160160
{
161161
adjs->adj_num = ucell.nat - 1;
162162
adjs->adjacent_tau.resize(ucell.nat);

0 commit comments

Comments
 (0)