IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 2c261e8c authored by ralfulrich's avatar ralfulrich
Browse files

fix

parent 1bc79005
No related branches found
No related tags found
No related merge requests found
...@@ -266,7 +266,10 @@ namespace corsika { ...@@ -266,7 +266,10 @@ namespace corsika {
CORSIKA_LOG_WARN( CORSIKA_LOG_WARN(
"Decay time decreased during step! This leads to un-physical step length. " "Decay time decreased during step! This leads to un-physical step length. "
"delta_inverse_decay_time={}", "delta_inverse_decay_time={}",
1 / initial_inv_decay_time - 1 / actual_decay_time); (actual_decay_time != InverseTimeType::zero() &&
initial_inv_decay_time != InverseTimeType::zero()
? 1 / initial_inv_decay_time - 1 / actual_decay_time
: TimeType::zero()));
} }
#endif #endif
......
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