diff --git a/RecoTracker/LSTCore/src/alpaka/Kernels.h b/RecoTracker/LSTCore/src/alpaka/Kernels.h index 0ec8e1ed7de84..76a3e6ef26770 100644 --- a/RecoTracker/LSTCore/src/alpaka/Kernels.h +++ b/RecoTracker/LSTCore/src/alpaka/Kernels.h @@ -118,7 +118,7 @@ namespace lst { int hits1[Params_T3::kHits]; int hits2[Params_T3::kHits]; - for (int i = 0; i < Params_pLS::kHits; i++) { + for (int i = 0; i < Params_T3::kHits; i++) { hits1[i] = pixelTripletsInGPU.hitIndices[Params_pT3::kHits * ix + i + 4]; // Omitting the pLS hits hits2[i] = pixelTripletsInGPU.hitIndices[Params_pT3::kHits * jx + i + 4]; // Omitting the pLS hits }