Skip to content

Commit dfed1a7

Browse files
committed
Don't use anonymous Static.eq
1 parent 6e37ea4 commit dfed1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stridelayout.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ end
216216
contiguous_axis_indicator(::A) where {A<:AbstractArray} = contiguous_axis_indicator(A)
217217
contiguous_axis_indicator(::Nothing, ::Val) = nothing
218218
function contiguous_axis_indicator(c::StaticInt{N}, dim::Val{D}) where {N,D}
219-
map(i -> eq(c, i), ntuple(static, dim))
219+
map(eq(c), ntuple(static, dim))
220220
end
221221

222222
function rank_to_sortperm(R::Tuple{Vararg{StaticInt,N}}) where {N}

0 commit comments

Comments
 (0)