Skip to content

Commit d4f9d85

Browse files
committed
fixing o2 c++ error
1 parent 6c6366b commit d4f9d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/EbyEFluctuations/Tasks/radialFlowDecorr.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ struct RadialFlowDecorr {
231231
const AxisSpec etaAxis{{-0.9, -0.8, -0.7, -0.6, -0.5, -0.4, -0.3, -0.2, -0.1, 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}, "Eta"};
232232
const AxisSpec phiAxis{KNbinsPhi, KPhiMin, TwoPI, "#phi"};
233233
const AxisSpec etaBinAxis{KNEta + 1, -0.5, KNEta + 0.5, "#eta bin Number"};
234-
const AxisSpec spBinAxis{KNsp + 1, -KBinOffset, KNsp + KBinOffset, "species index Number"};
234+
const AxisSpec spBinAxis{KNsp + 1, -KBinOffset, static_cast<float>(KNsp) + KBinOffset, "species index Number"};
235235

236236
const AxisSpec gapAxis{{-1.55, -1.45, -1.35, -1.25, -1.15, -1.05, -0.95, -0.85,
237237
-0.75, -0.65, -0.55, -0.45, -0.35, -0.25, -0.15, -0.05,

0 commit comments

Comments
 (0)