Skip to content

PrForwardTracking fix worst hit finding when hits perfectly align

Andre Gunther requested to merge gunther_worst_hit_fix into master

It can happen that (within single floating point precision) hits line up perfectly. In that case the chi2 of the linear fit is zero which then accidentally leads to a forbidden memory access. This case was already covered in all fits but one, which is fixed in this MR.

Merge request reports

Loading