Skip to content

Commit 6f0d1c8

Browse files
committed
bugfix bugfix
1 parent e0a94a9 commit 6f0d1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGUD/Tasks/upcRhoAnalysis.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ struct UpcRhoAnalysis {
674674
double deltaPhi(const ROOT::Math::PxPyPzMVector& p1, const ROOT::Math::PxPyPzMVector& p2)
675675
{
676676
double dPhi = p1.Phi() - p2.Phi();
677-
while (dPhi > o2::constants::math::PI)
677+
while (dPhi >= o2::constants::math::PI)
678678
dPhi -= o2::constants::math::TwoPI;
679679
while (dPhi < -o2::constants::math::PI)
680680
dPhi += o2::constants::math::TwoPI;

0 commit comments

Comments
 (0)