Skip to content

Commit 2d60fa2

Browse files
nstrangmNicolas Strangmann
andauthored
[EMCal-688] ClusterLabel: Fix bug in label sorting condition (#13523)
Co-authored-by: Nicolas Strangmann <nicolas.strangmann@.cern.ch>
1 parent 828de21 commit 2d60fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataFormats/Detectors/EMCAL/src/ClusterLabel.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ void ClusterLabel::orderLabels()
7171
{
7272
// Sort the pairs based on values in descending order
7373
std::sort(mClusterLabels.begin(), mClusterLabels.end(),
74-
[](const labelWithE& a, const labelWithE& b) { return a.energyFraction >= b.energyFraction; });
74+
[](const labelWithE& a, const labelWithE& b) { return a.energyFraction > b.energyFraction; });
7575
}

0 commit comments

Comments
 (0)