IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 186aefa5 authored by ralfulrich's avatar ralfulrich Committed by Felix Riehn
Browse files

comment

parent 55c19afa
No related branches found
No related tags found
1 merge request!311Resolve "testModules fails with segfault on release build with clang-8"
......@@ -200,7 +200,7 @@ namespace corsika {
GrammageType const grammageStart = shower_axis_.getProjectedX(vTrack.getPosition(0));
GrammageType const grammageEnd = shower_axis_.getProjectedX(vTrack.getPosition(1));
GrammageType deltaX = grammageEnd - grammageStart;
if (deltaX < GrammageType::zero()) deltaX = -deltaX;
if (deltaX < GrammageType::zero()) deltaX = -deltaX; // to catch upward-going particles
if (deltaX < dX_threshold_) return;
// only register the range that is covered by the profile
......
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