Skip to content

Commit eece938

Browse files
authored
Spelling Consistency
Signed-off-by: Axel Huebl <[email protected]>
1 parent e1e0e1b commit eece938

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Particle/ParticleContainer.H

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ void make_ParticleContainer_and_Iterators (py::module &m, std::string allocstr)
205205
.def_property_readonly("byte_spread", &ParticleContainerType::ByteSpread)
206206

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

210210
// runtime components
211211
.def("add_real_comp", py::overload_cast<int>(&ParticleContainerType::AddRealComp),

tests/test_particleContainer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ def soa_particle_container(Npart, std_geometry, distmap, boxarr, std_real_box):
8080
myt.int_array_data = []
8181

8282
with pytest.raises(Exception):
83-
pc.set_SoA_compile_time_names(
83+
pc.set_soa_compile_time_names(
8484
["x", "y", "z", "z", "b", "c", "d", "e"], []
8585
) # error: z added twice
86-
pc.set_SoA_compile_time_names(["x", "y", "z", "a", "b", "c", "d", "e"], [])
86+
pc.set_soa_compile_time_names(["x", "y", "z", "a", "b", "c", "d", "e"], [])
8787

8888
iseed = 1
8989
pc.init_random(Npart, iseed, myt, False, std_real_box)

0 commit comments

Comments
 (0)