We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Array
<:DenseArray
dense_dims
1 parent 3ee7ae0 commit e74a7aaCopy full SHA for e74a7aa
Project.toml
@@ -1,6 +1,6 @@
1
name = "ArrayInterface"
2
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
3
-version = "5.0.7"
+version = "5.0.8"
4
5
[deps]
6
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
src/stridelayout.jl
@@ -364,7 +364,7 @@ function dense_dims(::Type{T}) where {T}
364
end
365
_all_dense(::Val{N}) where {N} = ntuple(_ -> True(), Val{N}())
366
367
-dense_dims(::Type{Array{T,N}}) where {T,N} = _all_dense(Val{N}())
+dense_dims(::Type{<:DenseArray{T,N}}) where {T,N} = _all_dense(Val{N}())
368
dense_dims(::Type{BitArray{N}}) where {N} = _all_dense(Val{N}())
369
dense_dims(::Type{<:AbstractRange}) = (True(),)
370
dense_dims(::Type{<:Tuple}) = (True(),)
0 commit comments