diff --git a/src/Particle/ParticleContainer.H b/src/Particle/ParticleContainer.H index f820dc7f..2ac449f1 100644 --- a/src/Particle/ParticleContainer.H +++ b/src/Particle/ParticleContainer.H @@ -205,9 +205,13 @@ void make_ParticleContainer_and_Iterators (py::module &m, std::string allocstr) .def_property_readonly("byte_spread", &ParticleContainerType::ByteSpread) // runtime components - .def("add_real_comp", py::overload_cast(&ParticleContainerType::template AddRealComp), + .def("add_real_comp", py::overload_cast(&ParticleContainerType::AddRealComp), py::arg("communicate")=true, "add a new runtime component with type Real") - .def("add_int_comp", py::overload_cast(&ParticleContainerType::template AddIntComp), + .def("add_int_comp", py::overload_cast(&ParticleContainerType::AddIntComp), + py::arg("communicate")=true, "add a new runtime component with type Int") + .def("add_real_comp", py::overload_cast(&ParticleContainerType::AddRealComp), + py::arg("communicate")=true, "add a new runtime component with type Real") + .def("add_int_comp", py::overload_cast(&ParticleContainerType::AddIntComp), py::arg("communicate")=true, "add a new runtime component with type Int") .def_property_readonly("finest_level", &ParticleContainerBase::finestLevel)