Skip to content

Commit 231a045

Browse files
committed
fix array size typo
1 parent 8fc37f4 commit 231a045

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGHF/TableProducer/candidateCreator3Prong.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,12 +633,12 @@ struct HfCandidateCreator3Prong {
633633
}
634634

635635
KFParticle kfPairKPi;
636-
const KFParticle* kfDaughtersKPi[3] = {&kfSecondKaon, &kfThirdPion};
636+
const KFParticle* kfDaughtersKPi[2] = {&kfSecondKaon, &kfThirdPion};
637637
kfPairKPi.SetConstructMethod(2);
638638
kfPairKPi.Construct(kfDaughtersKPi, 2);
639639

640640
KFParticle kfPairPiK;
641-
const KFParticle* kfDaughtersPiK[3] = {&kfFirstPion, &kfSecondKaon};
641+
const KFParticle* kfDaughtersPiK[2] = {&kfFirstPion, &kfSecondKaon};
642642
kfPairPiK.SetConstructMethod(2);
643643
kfPairPiK.Construct(kfDaughtersPiK, 2);
644644

0 commit comments

Comments
 (0)