diff --git a/src/algorithms/calorimetry/CalorimeterIslandCluster.h b/src/algorithms/calorimetry/CalorimeterIslandCluster.h index b118c33fd0..826a1b8296 100644 --- a/src/algorithms/calorimetry/CalorimeterIslandCluster.h +++ b/src/algorithms/calorimetry/CalorimeterIslandCluster.h @@ -194,7 +194,7 @@ class CalorimeterIslandCluster { continue; } - if (is_neighbour(hit, hit2) && hit2->getEnergy() > hit->getEnergy()) { + if (is_neighbour(hit, hit2) && (hit2->getEnergy() > hit->getEnergy())) { maximum = false; break; }