Skip to content

Commit

Permalink
fix while
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdymercury authored and dpiparo committed Mar 22, 2024
1 parent 63dbab1 commit 6b6ef47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hist/hist/src/THnBase.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ TH1* THnBase::CreateHist(const char* name, const char* title,
if (labels) {
TIter iL(labels);
Int_t i = 1;
for (auto lb = static_cast<TObjString *>(iL())) {
while (auto lb = static_cast<TObjString *>(iL())) {
hax[d]->SetBinLabel(i,lb->String().Data());
i++;
}
Expand Down

0 comments on commit 6b6ef47

Please sign in to comment.