Skip to content

JetUncertainties: Fix floating-point rounding issue

William Keaton Balunas requested to merge wbalunas/athena:jetUncFix-201111 into 21.2

This fixes a rare issue reported by @dmelini and @vaustrup where floating-point rounding error could result in the argument of UncertaintyHistogram interpolation functions migrating outside the range of validity, causing an error. The current code involves a double->float->double conversion; this fix keeps it a double the whole time.

Merge request reports

Loading