Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Detectors/Base/src/MatLayerCylSet.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ GPUd() bool MatLayerCylSet::getLayersRange(const Ray& ray, short& lmin, short& l
// The two lookups are independent so overlapping the pair is worth the clumsier shape.
const bool useMax = rmax2 < getRMax2();
const bool useMin = rmin2 >= getRMin2();
const int ixMax = useMax ? voxelIndex(rmax2) : [NumVoxels-1];
const int ixMax = useMax ? voxelIndex(rmax2) : [NumVoxels - 1];
const int ixMin = useMin ? voxelIndex(rmin2) : 0;
const uint16_t eMax = mLayerVoxelLU[ixMax];
const uint16_t eMin = mLayerVoxelLU[ixMin];
Expand Down
Loading