Skip to content

Commit 28a52b5

Browse files
committed
change size_t to auto
1 parent dfea3f1 commit 28a52b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGCF/Flow/Tasks/pidFlowPtCorr.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3363,7 +3363,7 @@ struct PidFlowPtCorr {
33633363

33643364
float weight = 1.f;
33653365
setParticleNUEWeight(weight, track, cent, pid);
3366-
const std::size_t index = static_cast<std::size_t>(pid - MyParticleType::kPion);
3366+
const auto index = static_cast<std::size_t>(pid - MyParticleType::kPion);
33673367
const double particleWeight = weight;
33683368
const double weight2 = particleWeight * particleWeight;
33693369
const double pt = track.pt();

0 commit comments

Comments
 (0)