Skip to content

Commit a29940f

Browse files
authored
Merge pull request #44 from JuliaArrays/fix-setup
Remove redundant lines from setup
2 parents aad1ea6 + e67f7b4 commit a29940f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/setup.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Base.IndexStyle(::Type{<:MArray}) = IndexLinear()
1111
StaticArrayInterface.static_axes(x::MArray) = StaticArrayInterface.static_axes(x.indices)
1212
Base.axes(x::MArray) = StaticArrayInterface.static_axes(x)
1313
StaticArrayInterface.axes_types(T::Type{<:MArray}) = T.parameters[3]
14-
StaticArrayInterface.static_axes(x::MArray) = StaticArrayInterface.static_axes(x.indices)
1514
StaticArrayInterface.defines_strides(::Type{<:MArray}) = true
1615
Base.strides(x::MArray) = strides(parent(x))
1716
function Base.getindex(x::MArray, inds...)
@@ -33,8 +32,6 @@ function StaticArrayInterface.known_dimnames(::Type{T}) where {L,T<:NamedDimsWra
3332
Static.known(L)
3433
end
3534

36-
Base.parent(x::NamedDimsWrapper) = x.parent
37-
3835
# Dummy array type with undetermined contiguity properties
3936
struct DummyZeros{T,N} <: AbstractArray{T,N}
4037
dims :: Dims{N}

0 commit comments

Comments
 (0)