Skip to content

Commit d815da5

Browse files
committed
Fix comparison of different type
1 parent 82978de commit d815da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/TableProducer/Nuspex/hyperhelium4sigmaRecoTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ struct Hyperhelium4sigmaRecoTask {
514514

515515
std::array<float, 3> posDecVtx = {kinkCand.xDecVtx() + collision.posX(), kinkCand.yDecVtx() + collision.posY(), kinkCand.zDecVtx() + collision.posZ()};
516516
auto refitP = refitMotherTrack(collision, motherTrack, posDecVtx);
517-
for (auto i = 0; i < refitP.size(); ++i) {
517+
for (size_t i = 0; i < refitP.size(); ++i) {
518518
refitP[i] *= 2.f;
519519
}
520520

@@ -600,7 +600,7 @@ struct Hyperhelium4sigmaRecoTask {
600600

601601
std::array<float, 3> posDecVtx = {kinkCand.xDecVtx() + collision.posX(), kinkCand.yDecVtx() + collision.posY(), kinkCand.zDecVtx() + collision.posZ()};
602602
auto refitP = refitMotherTrack(collision, motherTrack, posDecVtx);
603-
for (auto i = 0; i < refitP.size(); ++i) {
603+
for (size_t i = 0; i < refitP.size(); ++i) {
604604
refitP[i] *= 2.f;
605605
}
606606

0 commit comments

Comments
 (0)