We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f0617c commit 8499406Copy full SHA for 8499406
PWGJE/Tasks/jetLundPlane.cxx
@@ -33,6 +33,7 @@
33
#include <cmath>
34
#include <unordered_map>
35
#include <vector>
36
+#include <utility>
37
38
using namespace o2;
39
using namespace o2::framework;
@@ -576,7 +577,7 @@ struct JetLundPlaneUnfolding {
576
577
}
578
579
const float dR = std::hypot(detJet.eta() - candPartJet.eta(),
- 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)));
581
if (dR > matchMaxDR.value) {
582
continue;
583
0 commit comments