Skip to content

Bug fix: Do not compute chi2 if error is zero

Patrick Koppenburg requested to merge pkoppenb-FitNode into master

The fitnode std::ostream attempts to compute a chi2 without checking if the error is positive. This causes floating point exceptions when attempting to run the Kalman fitter in OutputLevel 2. I added a protection.

Potential candidate for run2 backporting.

Assigning to @sponce as there is no RTA shifter.

Merge request reports

Loading