From 7a4d56562f0ac2efd5dcf1d75c180f7d9ba495e6 Mon Sep 17 00:00:00 2001 From: Andrew Hart Date: Fri, 15 Mar 2024 15:06:36 +0100 Subject: [PATCH] Made unitMatrix the same size as matRinv. --- L1Trigger/TrackFindingTMTT/src/KFbase.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/L1Trigger/TrackFindingTMTT/src/KFbase.cc b/L1Trigger/TrackFindingTMTT/src/KFbase.cc index c7e55f54adab9..afff3cbc7709c 100644 --- a/L1Trigger/TrackFindingTMTT/src/KFbase.cc +++ b/L1Trigger/TrackFindingTMTT/src/KFbase.cc @@ -551,7 +551,7 @@ namespace tmtt { matRinv = TMatrixD(TMatrixD::kInverted, matR); } else { // Protection against rare maths instability. - const TMatrixD unitMatrix(TMatrixD::kUnit, TMatrixD(nHelixPar_, nHelixPar_)); + const TMatrixD unitMatrix(TMatrixD::kUnit, TMatrixD(2, 2)); const double big = 9.9e9; matRinv = big * unitMatrix; }