From c36db7cfab368e01515b340f6dc453d4e28f543f Mon Sep 17 00:00:00 2001 From: Alan Coleman <alanc@udel.edu> Date: Thu, 7 Mar 2024 10:28:34 +0100 Subject: [PATCH] downgrade shower axis warns to debug --- corsika/detail/media/ShowerAxis.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corsika/detail/media/ShowerAxis.inl b/corsika/detail/media/ShowerAxis.inl index 14e7ed94e..eb0af8a96 100644 --- a/corsika/detail/media/ShowerAxis.inl +++ b/corsika/detail/media/ShowerAxis.inl @@ -65,7 +65,7 @@ namespace corsika { unsigned int const upper = lower + 1; if (fractionalBin < 0) { - CORSIKA_LOG_WARN("cannot extrapolate to points behind point of injection l={} m", + CORSIKA_LOG_DEBUG("cannot extrapolate to points behind point of injection l={} m", l / 1_m); if (throw_) { throw std::runtime_error( @@ -75,7 +75,7 @@ namespace corsika { } if (upper >= X_.size()) { - CORSIKA_LOG_WARN( + CORSIKA_LOG_DEBUG( "shower axis too short, cannot extrapolate (l / max_length_ = {} )", l / max_length_); if (throw_) { -- GitLab