Skip to content

Commit 2b829c9

Browse files
committed
Fix redundant initialization in candidate creator
1 parent a60e5a5 commit 2b829c9

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)