Skip to content

Commit e6a79d6

Browse files
author
Yuanjun Mei
committed
Use static_cast
1 parent 6cc2f07 commit e6a79d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PWGCF/MultiparticleCorrelations/Tasks/multiparticleCorrelationsMei.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ struct MultiparticleCorrelationsMei // this name is used in lower-case format to
319319
if (mult == 1) {
320320
return {c[0] - c2[0], c[1] - c2[1]};
321321
}
322-
return {c[0] - double(mult) * c2[0], c[1] - double(mult) * c2[1]};
322+
return {c[0] - static_cast<double>(mult) * c2[0], c[1] - static_cast<double>(mult) * c2[1]};
323323
}
324324

325325
bool noneZeroDenom(std::vector<TComplex> resultMultCorr)

0 commit comments

Comments
 (0)