From eece9384a225831f8a521e00db72a6c12e0ea43d Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 22 Jan 2025 23:42:46 -0800 Subject: [PATCH] Spelling Consistency Signed-off-by: Axel Huebl --- src/Particle/ParticleContainer.H | 2 +- tests/test_particleContainer.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Particle/ParticleContainer.H b/src/Particle/ParticleContainer.H index cef612c7..e2ac199e 100644 --- a/src/Particle/ParticleContainer.H +++ b/src/Particle/ParticleContainer.H @@ -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(&ParticleContainerType::AddRealComp), diff --git a/tests/test_particleContainer.py b/tests/test_particleContainer.py index 8acec6cb..4174c870 100644 --- a/tests/test_particleContainer.py +++ b/tests/test_particleContainer.py @@ -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)