diff --git a/projects/injection/private/pybindings/injection.cxx b/projects/injection/private/pybindings/injection.cxx index 97c3bc1c8..74a2ce20b 100644 --- a/projects/injection/private/pybindings/injection.cxx +++ b/projects/injection/private/pybindings/injection.cxx @@ -43,6 +43,7 @@ PYBIND11_MODULE(injection,m) { class_, Process>(m, "PhysicalProcess") .def(init<>()) + .def(init>()) .def_property("primary_type", &Process::GetPrimaryType, &Process::SetPrimaryType) .def_property("interactions", &Process::GetInteractions, &Process::SetInteractions) .def_property("distributions", &PhysicalProcess::GetPhysicalDistributions, &PhysicalProcess::SetPhysicalDistributions) @@ -50,6 +51,7 @@ PYBIND11_MODULE(injection,m) { class_, Process>(m, "PrimaryInjectionProcess") .def(init<>()) + .def(init>()) .def_property("primary_type", &Process::GetPrimaryType, &Process::SetPrimaryType) .def_property("interactions", &Process::GetInteractions, &Process::SetInteractions) .def_property("distributions", &PrimaryInjectionProcess::GetPrimaryInjectionDistributions, &PrimaryInjectionProcess::SetPrimaryInjectionDistributions) @@ -57,6 +59,7 @@ PYBIND11_MODULE(injection,m) { class_, Process>(m, "SecondaryInjectionProcess") .def(init<>()) + .def(init>()) .def_property("secondary_type", &SecondaryInjectionProcess::GetSecondaryType, &SecondaryInjectionProcess::SetSecondaryType) .def_property("interactions", &Process::GetInteractions, &Process::SetInteractions) .def_property("distributions", &SecondaryInjectionProcess::GetSecondaryInjectionDistributions, &SecondaryInjectionProcess::SetSecondaryInjectionDistributions)