Skip to content

Commit 01052a7

Browse files
committed
[skip-ci] clarifying note on when this part of code is called
1 parent ffce7dd commit 01052a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hist/hist/src/TAxis.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ void TAxis::AutoZoom()
13791379
hobj1->GetRangeOfFilledWeights(dim, first, last, false);
13801380
SetRange(first, last);
13811381
}
1382-
if (first == -1 && last == -1) {
1382+
if (first == -1 && last == -1) { // This only happens if parent histogram was missing, or if it was called "hframe"
13831383
// Must autozoom all histograms in the pad
13841384
Double_t globalMin = DBL_MAX;
13851385
Double_t globalMax = DBL_MIN;

0 commit comments

Comments
 (0)