Skip to content

Commit c5d5fb5

Browse files
committed
Return instead of continue
1 parent 4514ca0 commit c5d5fb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Strangeness/phiStrangeCorrelation.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ struct PhiStrangenessCorrelation {
629629
return;
630630

631631
if (!selectionV0<false>(v0, c2))
632-
continue;
632+
return;
633633

634634
float weightPhiK0S = computeWeight(BoundEfficiencyMap(effMaps[Phi], multiplicity, phiCand.pt(), phiCand.y()),
635635
BoundEfficiencyMap(effMaps[K0S], multiplicity, v0.pt(), v0.yK0Short()));
@@ -662,7 +662,7 @@ struct PhiStrangenessCorrelation {
662662
return;
663663

664664
if (!selectionPion(track))
665-
continue;
665+
return;
666666

667667
float weightPhiPion = computeWeight(BoundEfficiencyMap(effMaps[Phi], multiplicity, phiCand.pt(), phiCand.y()),
668668
BoundEfficiencyMap(effMaps[Pion], multiplicity, track.pt(), track.rapidity(massPi)));

0 commit comments

Comments
 (0)