Skip to content

Commit 0ed1ffa

Browse files
committed
fixed min function call
1 parent 4861386 commit 0ed1ffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,8 +3282,8 @@ struct AntinucleiInJets {
32823282
const int nBins = ptOverAbins.size() - 1;
32833283

32843284
// Clamp systematic index range
3285-
const int systStart = std::max(0, systIndexStart.value);
3286-
const int systEnd = std::min(nSyst, systIndexEnd.value);
3285+
const int systStart = std::max(0, static_cast<int>(systIndexStart.value));
3286+
const int systEnd = std::min(nSyst, static_cast<int>(systIndexEnd.value));
32873287

32883288
// Loop over systematic variations
32893289
for (int isyst = systStart; isyst < systEnd; isyst++) {

0 commit comments

Comments
 (0)