IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 3b9a4562 authored by Alan Coleman's avatar Alan Coleman Committed by Alan Coleman
Browse files

downgrade shower axis warns to debug

parent d748500c
No related branches found
No related tags found
1 merge request!603Resolve "Downgrade warning for particles beyond shower axis"
...@@ -65,7 +65,7 @@ namespace corsika { ...@@ -65,7 +65,7 @@ namespace corsika {
unsigned int const upper = lower + 1; unsigned int const upper = lower + 1;
if (fractionalBin < 0) { 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); l / 1_m);
if (throw_) { if (throw_) {
throw std::runtime_error( throw std::runtime_error(
...@@ -75,7 +75,7 @@ namespace corsika { ...@@ -75,7 +75,7 @@ namespace corsika {
} }
if (upper >= X_.size()) { if (upper >= X_.size()) {
CORSIKA_LOG_WARN( CORSIKA_LOG_DEBUG(
"shower axis too short, cannot extrapolate (l / max_length_ = {} )", "shower axis too short, cannot extrapolate (l / max_length_ = {} )",
l / max_length_); l / max_length_);
if (throw_) { if (throw_) {
......
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