From ea3610a42dd2c12dc7daabcd8e6db6b0edcf6a33 Mon Sep 17 00:00:00 2001 From: Johannes Junggeburth <johannes.josef.junggeburth@cern.ch> Date: Fri, 24 Jan 2025 15:20:27 +0100 Subject: [PATCH] Update file GeoMaterial.cxx --- GeoModelCore/GeoModelKernel/src/GeoMaterial.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GeoModelCore/GeoModelKernel/src/GeoMaterial.cxx b/GeoModelCore/GeoModelKernel/src/GeoMaterial.cxx index e790a1c61..c4dc3adf7 100755 --- a/GeoModelCore/GeoModelKernel/src/GeoMaterial.cxx +++ b/GeoModelCore/GeoModelKernel/src/GeoMaterial.cxx @@ -271,9 +271,9 @@ void GeoMaterial::lock () { // -------------------------------------------// double dEDxConstant{0.}, dEDxI0{0.}, NILinv{0.}, radInv{0.}; -// std::sort(m_elements.begin(), m_elements.end(),[](const ElementWithFrac& a, const ElementWithFrac& b){ -// return a.second > b.second; -// }); + std::sort(m_elements.begin(), m_elements.end(),[](const ElementWithFrac& a, const ElementWithFrac& b){ + return a.second > b.second; + }); // ===============Renormalization================================ { -- GitLab