diff --git a/GeoModelCore/GeoModelKernel/src/GeoMaterial.cxx b/GeoModelCore/GeoModelKernel/src/GeoMaterial.cxx index e790a1c61544b27652dfc4c40b16e5a51ae30afa..c4dc3adf7d3d8f67834df76638db623c3477988a 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================================ {