Skip to content

Commit 2496779

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bd060f1 commit 2496779

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Particle/ParticleTile.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void make_ParticleTileData(py::module &m) {
4747
SuperParticleType const value) { pdt.setSuperParticle(value, v); })
4848
.def("__getitem__",
4949
[](ParticleTileDataType &pdt, int const v) { return pdt.getSuperParticle(v); })
50-
50+
5151
;
5252
}
5353

@@ -84,11 +84,11 @@ void make_ParticleTile(py::module &m, std::string allocstr)
8484
.def("setNumNeighbors", &ParticleTileType::setNumNeighbors)
8585
.def("getNumNeighbors", &ParticleTileType::getNumNeighbors)
8686
.def("resize", &ParticleTileType::resize)
87-
87+
8888
.def("push_back", [](ParticleTileType& ptile, const ParticleType &p){ ptile.push_back(p);})
8989
// .def("push_back", py::overload_cast<const ParticleType&>(&ParticleTileType::push_back), "Add one particle to this tile.")
9090
// .def("push_back", py::overload_cast<const SuperParticleType&>(&ParticleTileType::push_back), "Add one particle to this tile.")
91-
91+
9292
.def("push_back", [](ParticleTileType& ptile, const SuperParticleType &p) {ptile.push_back(p);})
9393
.def("push_back_real", [](ParticleTileType& ptile, int comp, ParticleReal v) {ptile.push_back_real(comp, v);})
9494
.def("push_back_real", [](ParticleTileType& ptile,

0 commit comments

Comments
 (0)