Skip to content

Commit 52804f8

Browse files
committed
Fix bug
1 parent 2b4fe2f commit 52804f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/QC/hypertriton3bodyQa.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ struct Hypertriton3bodyQa {
266266
registry.get<TH1>(HIST("hParticleCounter"))->GetXaxis()->SetBinLabel(7, "McisDeuteron");
267267

268268
std::vector<TString> trackCounterbinLabel = {"hasMom", "FromHypertriton"};
269-
for (auto i = 0; i < trackCounterbinLabel.size(); i++) {
269+
for (size_t i = 0; i < trackCounterbinLabel.size(); i++) {
270270
registry.get<TH1>(HIST("hProtonCounter"))->GetXaxis()->SetBinLabel(i + 1, trackCounterbinLabel[i]);
271271
registry.get<TH1>(HIST("hPionCounter"))->GetXaxis()->SetBinLabel(i + 1, trackCounterbinLabel[i]);
272272
registry.get<TH1>(HIST("hDeuteronCounter"))->GetXaxis()->SetBinLabel(i + 1, trackCounterbinLabel[i]);

0 commit comments

Comments
 (0)