From 186aefa538f4589bad30786f28b3491dd090228e Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Mon, 25 Jan 2021 07:48:43 +0100 Subject: [PATCH] comment --- corsika/detail/modules/energy_loss/BetheBlochPDG.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl index 7f94b1714..75d12f949 100644 --- a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl +++ b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl @@ -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 -- GitLab