From 1eca04b65938e638ad988c631813a466bc6c64ea Mon Sep 17 00:00:00 2001
From: Maximilian Reininghaus <maximilian.reininghaus@tu-dortmund.de>
Date: Thu, 19 Nov 2020 13:19:24 +0100
Subject: [PATCH] constexpr removed from nucleus_mass()

---
 corsika/framework/core/ParticleProperties.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corsika/framework/core/ParticleProperties.hpp b/corsika/framework/core/ParticleProperties.hpp
index e3a7bec2d..b5e9649e6 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();
-- 
GitLab