Skip to content

Commit

Permalink
fix: TrackProjector.cpp: static_cast<float>(sqrt())
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Dec 4, 2024
1 parent 567b5fa commit 92a135e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JugTrack/src/components/TrackProjector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ namespace Jug::Reco {
static_cast<float>(covariance(Acts::eBoundPhi, Acts::eBoundQOverP))
};
const float time{static_cast<float>(parameter(Acts::eBoundTime))};
const float timeError{sqrt(static_cast<float>(covariance(Acts::eBoundTime, Acts::eBoundTime)))};
const float timeError{static_cast<float>(sqrt(covariance(Acts::eBoundTime, Acts::eBoundTime)))};
const float theta(parameter[Acts::eBoundTheta]);
const float phi(parameter[Acts::eBoundPhi]);
const decltype(edm4eic::TrackPoint::directionError) directionError {
Expand Down

0 comments on commit 92a135e

Please sign in to comment.