Skip to content

Commit db54517

Browse files
authored
fix linter for phi1020 task
1 parent 6438f7e commit db54517

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/Resonances/phi1020analysis.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ struct Phi1020analysis {
10511051
daughterPDGs = {-1, -1};
10521052
}
10531053

1054-
if (abs(daughterPDGs[0]) != PDG_t::kKPlus || abs(daughterPDGs[1]) != PDG_t::kKPlus) { // At least one decay to Kaon
1054+
if (std::abs(daughterPDGs[0]) != PDG_t::kKPlus || std::abs(daughterPDGs[1]) != PDG_t::kKPlus) { // At least one decay to Kaon
10551055
continue;
10561056
}
10571057

@@ -1179,7 +1179,7 @@ struct Phi1020analysis {
11791179
daughterPDGs = {-1, -1};
11801180
}
11811181

1182-
if (abs(daughterPDGs[0]) != PDG_t::kKPlus || abs(daughterPDGs[1]) != PDG_t::kKPlus) { // At least one decay to Kaon
1182+
if (std::abs(daughterPDGs[0]) != PDG_t::kKPlus || std::abs(daughterPDGs[1]) != PDG_t::kKPlus) { // At least one decay to Kaon
11831183
continue;
11841184
}
11851185

0 commit comments

Comments
 (0)