Adding Check against zeros/negative values in log variables
Summary
This MR introduces the following changes
- Adding a check for zeros/negative values for the track variables (mainly happening with old samples which have ptfrac still in float16) which are used in log. This will lead to infs and nans which will trigger another error which is misleading. The new error catches this with a proper error message.
Relates to the following issues
- Closes #236 (closed)
Conformity
Edited by Alexander Froch