diff --git a/src/Containers/Containers.jl b/src/Containers/Containers.jl index 3992d22c73e..ec000c09df1 100644 --- a/src/Containers/Containers.jl +++ b/src/Containers/Containers.jl @@ -19,10 +19,6 @@ module Containers import OrderedCollections -# Arbitrary typed indices. Linear indexing not supported. -struct IndexAnyCartesian <: Base.IndexStyle end -Base.IndexStyle(::IndexAnyCartesian, ::IndexAnyCartesian) = IndexAnyCartesian() - export DenseAxisArray, SparseAxisArray include("DenseAxisArray.jl") diff --git a/src/Containers/DenseAxisArray.jl b/src/Containers/DenseAxisArray.jl index c5866f44f10..0e421cd36c6 100644 --- a/src/Containers/DenseAxisArray.jl +++ b/src/Containers/DenseAxisArray.jl @@ -448,10 +448,6 @@ function Base.setindex!( return end -function Base.IndexStyle(::Type{DenseAxisArray{T,N,Ax}}) where {T,N,Ax} - return IndexAnyCartesian() -end - function Base.setindex!( A::DenseAxisArray{T,N}, value::DenseAxisArray{T,N},