Skip to content

Commit 8499406

Browse files
authored
Update jetLundPlane.cxx
1 parent 2f0617c commit 8499406

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGJE/Tasks/jetLundPlane.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <cmath>
3434
#include <unordered_map>
3535
#include <vector>
36+
#include <utility>
3637

3738
using namespace o2;
3839
using namespace o2::framework;
@@ -576,7 +577,7 @@ struct JetLundPlaneUnfolding {
576577
}
577578

578579
const float dR = std::hypot(detJet.eta() - candPartJet.eta(),
579-
std::remainder(detJet.phi() - candPartJet.phi(), 2.f * (float)M_PI));
580+
std::remainder(detJet.phi() - candPartJet.phi(), 2.f * static_cast<float>(M_PI)));
580581
if (dR > matchMaxDR.value) {
581582
continue;
582583
}

0 commit comments

Comments
 (0)