Skip to content

Commit f4729fd

Browse files
committed
Compile-fix
1 parent 4949b55 commit f4729fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/TPCClusterFinder/GPUTPCNNClusterizerKernels.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::fil
6565

6666
CfArray2D<PackedCharge> chargeMap(reinterpret_cast<PackedCharge*>(clusterer.mPchargeMap));
6767
CfArray2D<uint8_t> isPeakMap(clusterer.mPpeakMap);
68-
CfChargePos peak = clusterer.mPfilteredPeakPositions[CAMath::Min(glo_idx + batchStart, clusterer.mPmemory->counters.nClusters - 1)];
68+
CfChargePos peak = clusterer.mPfilteredPeakPositions[CAMath::Min(glo_idx + batchStart, (uint32_t)(clusterer.mPmemory->counters.nClusters - 1))];
6969
int32_t row = static_cast<int>(peak.row());
7070
int32_t pad = static_cast<int>(peak.pad());
7171
int32_t time = static_cast<int>(peak.time());

0 commit comments

Comments
 (0)