Skip to content

Commit fb689f2

Browse files
authored
Fix minor bug (#10594)
1 parent b68f12a commit fb689f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/TableProducer/trackIndexSkimCreator.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,11 +1783,11 @@ struct HfTrackIndexSkimCreator {
17831783
bool isMlSel = false;
17841784
if constexpr (usePidForHfFiltersBdt) {
17851785
if (iDecay3P != hf_cand_3prong::DecayType::LcToPKPi && iDecay3P != hf_cand_3prong::DecayType::XicToPKPi) {
1786-
hfMlResponse3Prongs[iDecay3P].isSelectedMl(featuresCand, ptDummy, outputScores[iDecay3P]);
1786+
isMlSel = hfMlResponse3Prongs[iDecay3P].isSelectedMl(featuresCand, ptDummy, outputScores[iDecay3P]);
17871787
} else {
17881788
std::vector<float> featuresCandWithPid = featuresCand;
17891789
featuresCandWithPid.insert(featuresCandWithPid.end(), featuresCandPid.begin(), featuresCandPid.end());
1790-
hfMlResponse3Prongs[iDecay3P].isSelectedMl(featuresCandWithPid, ptDummy, outputScores[iDecay3P]);
1790+
isMlSel = hfMlResponse3Prongs[iDecay3P].isSelectedMl(featuresCandWithPid, ptDummy, outputScores[iDecay3P]);
17911791
}
17921792
} else {
17931793
isMlSel = hfMlResponse3Prongs[iDecay3P].isSelectedMl(featuresCand, ptDummy, outputScores[iDecay3P]);

0 commit comments

Comments
 (0)