Skip to content

Commit

Permalink
Made unitMatrix the same size as matRinv.
Browse files Browse the repository at this point in the history
  • Loading branch information
aehart committed Mar 18, 2024
1 parent 99dfdaa commit 7a4d565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion L1Trigger/TrackFindingTMTT/src/KFbase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7a4d565

Please sign in to comment.