Skip to content

Commit cd56171

Browse files
mtorresc15vkucera
andauthored
[PWGHF] Fix redundant initialization in charm baryon candidate creator (#18109)
Co-authored-by: Vít Kučera <26327373+vkucera@users.noreply.github.com>
1 parent 51b8cc7 commit cd56171

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-
auto arrMassCharmBaryon = std::array{0., 0.};
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)