diff --git a/Fatras/include/ActsFatras/Physics/ElectroMagnetic/PhotonConversion.hpp b/Fatras/include/ActsFatras/Physics/ElectroMagnetic/PhotonConversion.hpp index 4e976f69882..6a01b08e19e 100644 --- a/Fatras/include/ActsFatras/Physics/ElectroMagnetic/PhotonConversion.hpp +++ b/Fatras/include/ActsFatras/Physics/ElectroMagnetic/PhotonConversion.hpp @@ -255,7 +255,7 @@ Particle::Vector3 PhotonConversion::generateChildDirection( return direction; } -std::array PhotonConversion::generateChildren( +inline std::array PhotonConversion::generateChildren( const Particle& photon, Scalar childEnergy, const Particle::Vector3& childDirection) const { using namespace Acts::UnitLiterals;