Skip to content

Adding Check against zeros/negative values in log variables

Alexander Froch requested to merge alfroch-add-precision-warning into master

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

Conformity

Edited by Alexander Froch

Merge request reports