diff --git a/Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx b/Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx index 931109590f8fe..079ac3a775c12 100644 --- a/Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx +++ b/Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx @@ -977,7 +977,7 @@ track::TrackParCov TrackerTraits::buildTrackSeed(const Cluster& cluster1, const const float z3 = tf3.positionTrackingFrame[1]; const bool zeroField{std::abs(getBz()) < o2::constants::math::Almost0}; - const float tgp = zeroField ? std::atan2(y3 - y1, x3 - x1) : 1.f; + const float tgp = zeroField ? o2::gpu::CAMath::ATan2(y3 - y1, x3 - x1) : 1.f; const float crv = zeroField ? 1.f : math_utils::computeCurvature(x3, y3, x2, y2, x1, y1); const float snp = zeroField ? tgp / o2::gpu::CAMath::Sqrt(1.f + tgp * tgp) : crv * (x3 - math_utils::computeCurvatureCentreX(x3, y3, x2, y2, x1, y1)); const float tgl12 = math_utils::computeTanDipAngle(x1, y1, x2, y2, z1, z2);