From 7c7854bb768a820cbbb2e67754f13a3b1d6bcc61 Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Wed, 21 Apr 2021 20:52:12 +0200 Subject: [PATCH] style --- corsika/detail/modules/energy_loss/BetheBlochPDG.inl | 6 +++--- corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl index 1ac6d7098..1511d5029 100644 --- a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl +++ b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl @@ -184,9 +184,9 @@ namespace corsika { energy * 0.9, // either 10% relative loss max., or get_energy_threshold(vParticle.getPID()) // energy thresholds globally defined for // individual particles - * - 0.99999 // need to go 1% below global e-cut to assure removal in ParticleCut. The - // 1% does not matter since at cut-time the entire energy is removed. + * 0.99999 // need to go 1% below global e-cut to assure removal in + // ParticleCut. The 1% does not matter since at cut-time the entire + // energy is removed. ); auto const maxGrammage = (vParticle.getEnergy() - energy_lim) / dEdX; diff --git a/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl b/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl index fc66093a9..cad673519 100644 --- a/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl +++ b/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl @@ -278,8 +278,8 @@ namespace corsika { std::vector<double> const deltaLs = solve_quadratic_real(denom, p, q); - CORSIKA_LOG_TRACE("deltaLs=[{}]", fmt::join(deltaLs, ", ")); - + CORSIKA_LOG_TRACE("deltaLs=[{}]", fmt::join(deltaLs, ", ")); + if (deltaLs.size() == 0) { return Intersections(std::numeric_limits<double>::infinity() * 1_s); } -- GitLab