Skip to content

Commit

Permalink
Fix isinf (AliceO2Group#6882)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf authored Jul 17, 2024
1 parent 2b21412 commit a9d24e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PWGJE/Core/JetFindingUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ void analyseParticles(std::vector<fastjet::PseudoJet>& inputParticles, std::stri
} else if (particleSelection == "PhysicalPrimaryAndHepMCStatus" && (!particle.isPhysicalPrimary() || particle.getHepMCStatusCode() != 1)) {
continue;
}
if (isinf(particle.eta())) {
if (std::isinf(particle.eta())) {
continue;
}
auto pdgParticle = pdgDatabase->GetParticle(particle.pdgCode());
Expand Down
2 changes: 1 addition & 1 deletion PWGJE/Tasks/jetplanarflow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ struct JetPlanarFlowTask {
if (particleSelection == "PhysicalPrimary" && !track.isPhysicalPrimary()) {
continue;
}
if (isinf(track.eta())) {
if (std::isinf(track.eta())) {
continue;
}
} else {
Expand Down

0 comments on commit a9d24e2

Please sign in to comment.