Skip to content

Commit 681238b

Browse files
committed
GPU: Minor optimization
1 parent 631990a commit 681238b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

GPU/GPUTracking/SliceTracker/GPUTPCSliceData.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,9 @@ GPUdii() int GPUTPCSliceData::InitFromClusterData(int nBlocks, int nThreads, int
392392
mHitData[globalBinsortedIndex].y = (cahit)yy;
393393
}
394394

395-
if (iThread == 0) {
395+
if (iThread == 0 && !mem->param.par.continuousTracking) {
396396
const float maxAbsZ = CAMath::Max(CAMath::Abs(tmpMinMax[2]), CAMath::Abs(tmpMinMax[3]));
397-
if (maxAbsZ > 300 && !mem->param.par.continuousTracking) {
397+
if (maxAbsZ > 300) {
398398
mem->errorCodes.raiseError(GPUErrors::ERROR_SLICEDATA_Z_OVERFLOW, iSlice, (unsigned int)maxAbsZ);
399399
return 1;
400400
}

0 commit comments

Comments
 (0)