Skip to content

Commit 020bc07

Browse files
authored
Fix Compilation Errors in femtoDreamContainer.h
use "float mP2 = 0.0;" instead of "float mP2;"
1 parent 755c17d commit 020bc07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/FemtoDream/Core/femtoDreamContainer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class FemtoDreamContainer
202202
{
203203
const float kT = FemtoDreamMath::getkT(part1, mMassOne, part2, mMassTwo);
204204
if constexpr (isHF) {
205-
float mP2;
205+
float mP2 = 0.0;
206206
if (part2.candidateSelFlag() == o2::aod::fdhf::dplusToPiKPi) {
207207
mP2 = part2.m(std::array{o2::constants::physics::MassPiPlus, o2::constants::physics::MassKPlus, o2::constants::physics::MassPiPlus});
208208
} else if (part2.candidateSelFlag() == o2::aod::fdhf::lcToPKPi) {

0 commit comments

Comments
 (0)