Skip to content

Commit 8671ed9

Browse files
Update src/nditeration.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent cc9bf88 commit 8671ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nditeration.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ end
6363
@inline workitems(range::NDRange{N, B, W}) where {N, B, W <: StaticSize} = CartesianIndices(get(W))::CartesianIndices{N}
6464
@inline blocks(range::NDRange{N, B}) where {N, B <: DynamicSize} = range.blocks::CartesianIndices{N}
6565
@inline blocks(range::NDRange{N, B}) where {N, B <: StaticSize} = CartesianIndices(get(B))::CartesianIndices{N}
66-
@inline Base.ndims(::NDRange{N}) where N = N
66+
@inline Base.ndims(::NDRange{N}) where {N} = N
6767

6868
import Base.iterate
6969
@inline iterate(range::NDRange) = iterate(blocks(range))

0 commit comments

Comments
 (0)