Skip to content
Snippets Groups Projects
Commit cf5a78c3 authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2: Committed by Marilena Bandieramonte
Browse files

Update file GeoMaterial.cxx

parent d5d6b194
No related merge requests found
Pipeline #11628450 skipped
......@@ -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================================
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment