Skip to content

Commit

Permalink
Spelling Consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Huebl <axel.huebl@plasma.ninja>
  • Loading branch information
ax3l authored Jan 23, 2025
1 parent e1e0e1b commit eece938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Particle/ParticleContainer.H
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void make_ParticleContainer_and_Iterators (py::module &m, std::string allocstr)
.def_property_readonly("byte_spread", &ParticleContainerType::ByteSpread)

// compile-time components
.def("set_SoA_compile_time_names", &ParticleContainerType::SetSoACompileTimeNames)
.def("set_soa_compile_time_names", &ParticleContainerType::SetSoACompileTimeNames)

// runtime components
.def("add_real_comp", py::overload_cast<int>(&ParticleContainerType::AddRealComp),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_particleContainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ def soa_particle_container(Npart, std_geometry, distmap, boxarr, std_real_box):
myt.int_array_data = []

with pytest.raises(Exception):
pc.set_SoA_compile_time_names(
pc.set_soa_compile_time_names(
["x", "y", "z", "z", "b", "c", "d", "e"], []
) # error: z added twice
pc.set_SoA_compile_time_names(["x", "y", "z", "a", "b", "c", "d", "e"], [])
pc.set_soa_compile_time_names(["x", "y", "z", "a", "b", "c", "d", "e"], [])

iseed = 1
pc.init_random(Npart, iseed, myt, False, std_real_box)
Expand Down

0 comments on commit eece938

Please sign in to comment.