From 92a135eeb39aea0a5057e64450b961f014f1a758 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 4 Dec 2024 22:16:34 +0000 Subject: [PATCH] fix: TrackProjector.cpp: static_cast(sqrt()) --- JugTrack/src/components/TrackProjector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JugTrack/src/components/TrackProjector.cpp b/JugTrack/src/components/TrackProjector.cpp index 1237555..b3b0ddf 100644 --- a/JugTrack/src/components/TrackProjector.cpp +++ b/JugTrack/src/components/TrackProjector.cpp @@ -168,7 +168,7 @@ namespace Jug::Reco { static_cast(covariance(Acts::eBoundPhi, Acts::eBoundQOverP)) }; const float time{static_cast(parameter(Acts::eBoundTime))}; - const float timeError{sqrt(static_cast(covariance(Acts::eBoundTime, Acts::eBoundTime)))}; + const float timeError{static_cast(sqrt(covariance(Acts::eBoundTime, Acts::eBoundTime)))}; const float theta(parameter[Acts::eBoundTheta]); const float phi(parameter[Acts::eBoundPhi]); const decltype(edm4eic::TrackPoint::directionError) directionError {