Skip to content
Snippets Groups Projects
Commit 3eb03f2a authored by Steven Schramm's avatar Steven Schramm
Browse files

Fix FPE due to log(X) where X <= 0 in JMS calib

This FPE was first seen in r22, but is present in both r21 and r22.
This commit is the r21 fix, which can then be swept into r22.
Note that the choice was made to keep the same behaviour as the current
tool, which looked for NaNs instead of preventing their creation in the
first place.  That is, negative logarithms result in a calibration factor
of 1 (no calibration) or a calibration weight of 0 (for combined mass
calibrations).
parent 7d70dde3
No related branches found
No related tags found
No related merge requests found
Loading
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