Skip to content

Commit b241768

Browse files
authored
Fix terrible horrible no good very bad piracy
1 parent c4cee12 commit b241768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArrayInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ismutable(::Type{<:Array}) = true
1919
ismutable(::Type{<:Number}) = false
2020

2121
# Piracy
22-
function Base.setindex(x::Array,v,i::Int)
22+
function Base.setindex(x::AbstractArray,v,i::Int)
2323
_x = copy(x)
2424
_x[i] = v
2525
_x

0 commit comments

Comments
 (0)