Skip to content

Commit 9a44bc2

Browse files
committed
Fix build error
1 parent 4253a2c commit 9a44bc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGMM/Mult/Tasks/pseudoEffMFT.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,15 +1036,15 @@ struct PseudoEffMFT {
10361036
mRunNumber = currentRun;
10371037
auto orbits = deadmap->getEvolvingMapKeys();
10381038
}
1039-
if (mOrbit != (static_cast<int64_t>(bc.globalBC() / nBCsPerOrbit))) {
1040-
mOrbit = (static_cast<int64_t>(bc.globalBC() / nBCsPerOrbit));
1039+
if (mOrbit != (bc.globalBC() / nBCsPerOrbit)) {
1040+
mOrbit = (bc.globalBC() / nBCsPerOrbit);
10411041
std::vector<uint16_t> encodeChips;
10421042
auto lowerOrbit = deadmap->getMapAtOrbit(mOrbit, encodeChips);
10431043
if ((mOrbit - lowerOrbit) > mPrevOrbit) {
1044-
for (const auto& v : chipsPerLayer) {
1044+
for (auto& v : chipsPerLayer) {
10451045
v.clear();
10461046
}
1047-
for (const auto& h : layerMasks) {
1047+
for (auto& h : layerMasks) {
10481048
if (h)
10491049
h->Reset("ICES");
10501050
}

0 commit comments

Comments
 (0)