Skip to content

Commit f7b8ed2

Browse files
Remove faulty isassigned specialization (#1096)
Remove faulty `isassigned` specialization - Also fixes associated invalidations from `isassigned`
1 parent 17e8c37 commit f7b8ed2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/abstractarray.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ function Base.summary(io::IO, a, inds::Tuple{SOneTo, Vararg{SOneTo}})
2727
Base.showarg(io, a, true)
2828
end
2929

30-
# This seems to confuse Julia a bit in certain circumstances (specifically for trailing 1's)
31-
@inline function Base.isassigned(a::StaticArray, i::Int...)
32-
ii = LinearIndices(size(a))[i...]
33-
1 <= ii <= length(a) ? true : false
34-
end
35-
3630
Base.IndexStyle(::Type{T}) where {T<:StaticArray} = IndexLinear()
3731

3832
# Default type search for similar_type

0 commit comments

Comments
 (0)