diff --git a/corsika/framework/core/ParticleProperties.hpp b/corsika/framework/core/ParticleProperties.hpp index e3a7bec2d5d2989f9ad60fe8697572fff1d222af..b5e9649e66b830361215a41b67776ec38f4612d2 100644 --- a/corsika/framework/core/ParticleProperties.hpp +++ b/corsika/framework/core/ParticleProperties.hpp @@ -144,7 +144,7 @@ namespace corsika { } //! returns mass of (A,Z) nucleus, disregarding binding energy - HEPMassType constexpr nucleus_mass(const int A, const int Z) { + HEPMassType nucleus_mass(const int A, const int Z) { auto const absA = std::abs(A); auto const absZ = std::abs(Z); return Proton::mass() * absZ + (absA - absZ) * Neutron::mass();