From f056bb9d462f8ce79270032a87da9234a6340c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Tue, 18 Aug 2026 10:02:43 +0200 Subject: [PATCH] Use std::abs for charge comparison --- PWGLF/Utils/inelGt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Utils/inelGt.h b/PWGLF/Utils/inelGt.h index 85d07381609..8c4033f1b9a 100644 --- a/PWGLF/Utils/inelGt.h +++ b/PWGLF/Utils/inelGt.h @@ -114,7 +114,7 @@ struct ParticleCounter { continue; } // is charged - if (abs(p->Charge()) == 0) { + if (std::abs(p->Charge()) == 0) { continue; } // in acceptance