Skip to content

Commit cfca9e2

Browse files
committed
improve resetting of axes
1 parent 5e260bb commit cfca9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)