diff --git a/projects/interactions/public/SIREN/interactions/pyCrossSection.h b/projects/interactions/public/SIREN/interactions/pyCrossSection.h index 4b451072..15349485 100644 --- a/projects/interactions/public/SIREN/interactions/pyCrossSection.h +++ b/projects/interactions/public/SIREN/interactions/pyCrossSection.h @@ -49,7 +49,7 @@ class pyCrossSection : public CrossSection { double FinalStateProbability(dataclasses::InteractionRecord const & record) const override; std::vector DensityVariables() const override; - RegisterPybind11Trampoline(CrossSection, pyCrossSection); + Pybind11TrampolineCerealMethods(CrossSection, pyCrossSection); }; // class pyCrossSection } // namespace interactions diff --git a/projects/interactions/public/SIREN/interactions/pyDarkNewsCrossSection.h b/projects/interactions/public/SIREN/interactions/pyDarkNewsCrossSection.h index 41befd96..9b45bc17 100644 --- a/projects/interactions/public/SIREN/interactions/pyDarkNewsCrossSection.h +++ b/projects/interactions/public/SIREN/interactions/pyDarkNewsCrossSection.h @@ -56,7 +56,7 @@ class pyDarkNewsCrossSection : public DarkNewsCrossSection { std::vector GetPossibleSignaturesFromParents(siren::dataclasses::ParticleType primary_type, siren::dataclasses::ParticleType target_type) const override; double FinalStateProbability(dataclasses::InteractionRecord const & record) const override; - RegisterPybind11Trampoline(DarkNewsCrossSection, pyDarkNewsCrossSection); + Pybind11TrampolineCerealMethods(DarkNewsCrossSection, pyDarkNewsCrossSection); }; } // namespace interactions diff --git a/projects/interactions/public/SIREN/interactions/pyDarkNewsDecay.h b/projects/interactions/public/SIREN/interactions/pyDarkNewsDecay.h index 8f674f04..27902808 100644 --- a/projects/interactions/public/SIREN/interactions/pyDarkNewsDecay.h +++ b/projects/interactions/public/SIREN/interactions/pyDarkNewsDecay.h @@ -52,7 +52,7 @@ class pyDarkNewsDecay : public DarkNewsDecay { std::vector DensityVariables() const override; double FinalStateProbability(dataclasses::InteractionRecord const & record) const override; - RegisterPybind11Trampoline(DarkNewsDecay, pyDarkNewsDecay); + Pybind11TrampolineCerealMethods(DarkNewsDecay, pyDarkNewsDecay); }; // class pyDarkNewsDecay diff --git a/projects/interactions/public/SIREN/interactions/pyDecay.h b/projects/interactions/public/SIREN/interactions/pyDecay.h index 45a7bf25..90a5263d 100644 --- a/projects/interactions/public/SIREN/interactions/pyDecay.h +++ b/projects/interactions/public/SIREN/interactions/pyDecay.h @@ -48,7 +48,7 @@ class pyDecay : public Decay { std::vector DensityVariables() const override; double FinalStateProbability(dataclasses::InteractionRecord const & record) const override; - RegisterPybind11Trampoline(Decay, pyDecay); + Pybind11TrampolineCerealMethods(Decay, pyDecay); }; // class pyDecay } // namespace interactions diff --git a/projects/utilities/public/SIREN/utilities/Pybind11Trampoline.h b/projects/utilities/public/SIREN/utilities/Pybind11Trampoline.h index d4b2d873..c26edd35 100644 --- a/projects/utilities/public/SIREN/utilities/Pybind11Trampoline.h +++ b/projects/utilities/public/SIREN/utilities/Pybind11Trampoline.h @@ -69,7 +69,7 @@ return BaseType::cfuncname(__VA_ARGS__); \ } while (false); -#define RegisterPybind11Trampoline(BaseType, TrampolineType) \ +#define Pybind11TrampolineCerealMethods(BaseType, TrampolineType) \ public: \ pybind11::object self; \ pybind11::object get_representation() { \