Skip to content

Commit

Permalink
Fix ambiguous convert for Julia 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
emmt committed Jun 28, 2019
1 parent da39c4e commit b8fd829
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ResizableArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ Base.convert(::Type{ResizableArray{T,N}}, A::ResizableArray{T,N}) where {T,N} =
Base.convert(::Type{ResizableArray{T}}, A::ResizableArray{T}) where {T} = A
Base.convert(::Type{ResizableArray}, A::ResizableArray) = A

Base.convert(::Type{ResizableArray{T,N,Vector{T}}}, A::AbstractArray{<:Any,N}) where {T,N} =
ResizableArray{T,N}(A)
Base.convert(::Type{ResizableArray{T,N}}, A::AbstractArray{<:Any,N}) where {T,N} =
ResizableArray{T,N}(A)
Base.convert(::Type{ResizableArray{T}}, A::AbstractArray) where {T} =
Expand Down

0 comments on commit b8fd829

Please sign in to comment.