Skip to content

Commit fdfcb6d

Browse files
Update src/gather.jl
Co-authored-by: Peter <[email protected]>
1 parent ad9fda2 commit fdfcb6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gather.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function gather_kernel!(dst, src, idx::CUDA.CuDeviceArray{<:CartesianIndex}, max
4949
return nothing
5050
end
5151

52-
function checkbounds_src(src, dims::Int, ::Type{<:Any})
52+
function checkbounds_src(src, dims::Union{Int, Val}, ::Type{<:Any})
5353
return i -> checkbounds(Bool, src, ntuple(x -> Colon(), dims)..., i...)
5454
end
5555

0 commit comments

Comments
 (0)