Skip to content

Commit 485ccca

Browse files
mtorresc15vkucera
andauthored
Update PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx
Default-initialised arrMassCharmBaryon Co-authored-by: Vít Kučera <26327373+vkucera@users.noreply.github.com>
1 parent 2b829c9 commit 485ccca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ struct HfCandidateCreatorXic0Omegac0 {
617617
} else {
618618
mCasc = casc.mOmega();
619619
}
620-
std::array<double, 2> arrMassCharmBaryon;
620+
std::array<double, 2> arrMassCharmBaryon{};
621621
if constexpr (DecayChannel == hf_cand_casc_lf::DecayType2Prong::XiczeroOmegaczeroToXiPi) {
622622
arrMassCharmBaryon = {MassXiMinus, MassPiPlus};
623623
} else if constexpr (DecayChannel == hf_cand_casc_lf::DecayType2Prong::OmegaczeroToOmegaPi) {

0 commit comments

Comments
 (0)