From 6ef4e4effa6369c6af7d434515b58dea40e459f8 Mon Sep 17 00:00:00 2001 From: "Alexander J. Pfleger" <70842573+AJPfleger@users.noreply.github.com> Date: Thu, 29 Feb 2024 21:03:01 +0100 Subject: [PATCH] fix(gx2f): add error message to `NotEnoughMeasurements` (#3003) I forgot to add the error message in PR #2981. --- Core/src/TrackFitting/GlobalChiSquareFitterError.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/TrackFitting/GlobalChiSquareFitterError.cpp b/Core/src/TrackFitting/GlobalChiSquareFitterError.cpp index 1f6825d8c81..dff5795c932 100644 --- a/Core/src/TrackFitting/GlobalChiSquareFitterError.cpp +++ b/Core/src/TrackFitting/GlobalChiSquareFitterError.cpp @@ -28,6 +28,8 @@ class GlobalChiSquareFitterErrorCategory : public std::error_category { return "Gx2f: aMatrix is not invertible."; case GlobalChiSquareFitterError::DidNotConverge: return "Gx2f: Did not converge in 'nUpdateMax' updates."; + case GlobalChiSquareFitterError::NotEnoughMeasurements: + return "Gx2f: Not enough measurements."; default: return "unknown"; }