Skip to content

Commit 06fd86f

Browse files
committed
Fix comparison warning
1 parent 7bc5d3c commit 06fd86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/TPCClusterFinder/GPUTPCCFCheckPadBaseline.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ GPUd() void GPUTPCCFCheckPadBaseline::CheckBaselineGPU(int32_t nBlocks, int32_t
159159
const Charge ql = iTimeLoad < lastTB && iPadOffset < rowinfo.nPads ? chargeMap[pos].unpack() : 0;
160160
smem.charges[iTimeOffset][iPadOffset] = ql;
161161

162-
const bool hasHIPTrigger = hipFilterOn && work_group_any(ql >= MaxADC);
162+
const bool hasHIPTrigger = hipFilterOn && work_group_any(ql >= Charge(MaxADC));
163163

164164
acc.HIPtb = -1;
165165

0 commit comments

Comments
 (0)