Skip to content

Commit ee3b326

Browse files
authored
Update taskLambdaSpinCorr.cxx
1 parent a9fd8eb commit ee3b326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Strangeness/taskLambdaSpinCorr.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ struct LfTaskLambdaSpinCorr {
282282
auto proton1LambdaRF = boostLambda1ToCM(proton1pairCM);
283283
auto proton2LambdaRF = boostLambda2ToCM(proton2pairCM);
284284

285-
double cosThetaDiff;
285+
auto cosThetaDiff = -999.0;
286286
if (cosCalculation == 0) {
287287
cosThetaDiff = proton1LambdaRF.Vect().Unit().Dot(proton2LambdaRF.Vect().Unit());
288288
}

0 commit comments

Comments
 (0)