Skip to content
Snippets Groups Projects
Commit ea3610a4 authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2: Committed by Vakhtang Tsulaia
Browse files

Update file GeoMaterial.cxx

parent 1e926f17
No related branches found
No related tags found
1 merge request!407GeoModelMaterial - Sort materials by fraction
Pipeline #10955163 failed
......@@ -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