Skip to content

Commit 9e57bdb

Browse files
jgrosseojpxrk
authored andcommitted
improve resetting of axes (AliceO2Group#11630)
1 parent 2f17129 commit 9e57bdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGCF/Core/CorrelationContainer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ void CorrelationContainer::resetBinLimits(THnBase* grid, int max_dimension)
309309

310310
for (Int_t i = 0; i < max_dimension; i++) {
311311
if (grid->GetAxis(i)->TestBit(TAxis::kAxisRange)) {
312-
grid->GetAxis(i)->SetRangeUser(0, -1);
312+
grid->GetAxis(i)->SetRange(0, 0); // reset range
313313
}
314314
}
315315
}

0 commit comments

Comments
 (0)