Skip to content

Commit 16defd4

Browse files
authored
Merge pull request #147 from JuliaArrays/fixtaticarrays0
Don't reference SizedArray parent type parameter if it doesn't have one
2 parents 18aa87e + fa1e3f9 commit 16defd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ArrayInterface"
22
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
3-
version = "3.1.8"
3+
version = "3.1.9"
44

55
[deps]
66
IfElse = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"

src/ArrayInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ function __init__()
927927
end
928928
return t
929929
end
930-
@inline strides(B::StaticArrays.SizedArray{S,T,M,N,A}) where {S,T,M,N,A<:SubArray} = strides(B.data)
931930
if StaticArrays.SizedArray{Tuple{8,8},Float64,2,2} isa UnionAll
931+
@inline strides(B::StaticArrays.SizedArray{S,T,M,N,A}) where {S,T,M,N,A<:SubArray} = strides(B.data)
932932
parent_type(::Type{<:StaticArrays.SizedArray{S,T,M,N,A}}) where {S,T,M,N,A} = A
933933
else
934934
parent_type(::Type{<:StaticArrays.SizedArray{S,T,M,N}}) where {S,T,M,N} =

0 commit comments

Comments
 (0)