Skip to content

Commit 9655954

Browse files
authored
Change return type from double to float in getCurvature
This causes all calls where getCurvature is called in an expression to be promoted to double
1 parent 0f02172 commit 9655954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DataFormats/Reconstruction/include/ReconstructionDataFormats/TrackParametrization.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ GPUdi() void TrackParametrization<value_T>::getLineParams(o2::math_utils::Interv
548548
template <typename value_T>
549549
GPUdi() auto TrackParametrization<value_T>::getCurvature(value_t b) const -> value_t
550550
{
551-
return mAbsCharge ? mP[kQ2Pt] * b * o2::constants::math::B2C : 0.;
551+
return mAbsCharge ? mP[kQ2Pt] * b * o2::constants::math::B2C : 0.f;
552552
}
553553

554554
//____________________________________________________________

0 commit comments

Comments
 (0)