Skip to content

Fix FPE in CaloTools due to sqrt(-x) in AVX2+FMA builds

Christopher Rob Jones requested to merge CaloTools-FixAVX2FMAFPE into master

Adds protection to GammaPi0SeparationTool to prevent taking the square root of a negative number.

Fixes some FPEs seen in the nightlies in the AVX2+FMA builds. The number is tiny, essentially 0 (-1e-16) so the protection sets it to exactly 0 instead.

Merge request reports

Loading