Skip to content

Commit 9a407fb

Browse files
committed
use .data() to pass span as C-style array to a function
1 parent 3f04f52 commit 9a407fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ struct HfCandidateCreatorXicToXiPiPi {
505505
// create KFParticle
506506
KFParticle kfXi;
507507
float massXi = casc.mXi();
508-
kfXi.Create(parPosMom, casc.kfTrackCovMat(), casc.sign(), massXi);
508+
kfXi.Create(parPosMom, casc.kfTrackCovMat().data(), casc.sign(), massXi);
509509
if (useXiMassConstraint) {
510510
kfXi.SetNonlinearMassConstraint(MassXiMinus);
511511
}

0 commit comments

Comments
 (0)