Skip to content

Commit 63ad9e3

Browse files
1 parent c08790a commit 63ad9e3

File tree

3 files changed

+1
-82
lines changed

3 files changed

+1
-82
lines changed

src/ArrayInterface.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,6 @@ Base.@propagate_inbounds function Base.getindex(ind::TridiagonalIndex, i::Int)
688688
end
689689
end
690690

691-
_cartesian_index(i::Tuple{Vararg{Int}}) = CartesianIndex(i)
692-
_cartesian_index(::Any) = nothing
693691

694692
"""
695693
ndims_index(::Type{I}) -> Int
@@ -748,12 +746,7 @@ ndims_shape(@nospecialize T::Type{<:AbstractArray{Bool}}) = 1
748746
ndims_shape(@nospecialize T::Type{<:AbstractArray}) = ndims(T)
749747
ndims_shape(x) = ndims_shape(typeof(x))
750748

751-
@assume_effects :total function _find_first_true(isi::Tuple{Vararg{Bool, N}}) where {N}
752-
for i in 1:N
753-
getfield(isi, i) && return i
754-
end
755-
return nothing
756-
end
749+
757750

758751
"""
759752
instances_do_not_alias(::Type{T}) -> Bool

test/offsetarrays.jl

Lines changed: 0 additions & 34 deletions
This file was deleted.

test/staticarrays.jl

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)