gundam-organization / gundam

GUNDAM, for Generalized and Unified Neutrino Data Analysis Methods, is a suite of applications which aims at performing various statistical analysis with different purposes and setups.
GNU Lesser General Public License v2.1
13 stars 11 forks source link

[LTS 1.8.x] Trap NaNs in JointProbability #543

Closed ClarkMcGrew closed 3 months ago

ClarkMcGrew commented 3 months ago

A NaN (as opposed to an infinity) in JointProbability means that there was a bad parameter passed to the likelihood so that part of the weighting was not applied. This can only happen when there are bad inputs, so that means it is time to stop the fit.

This merge also includes changes to the amount of warning message produced during compilation and captures a change allowing the --kickmc option to set the size of the kick.