Skip to content

Commit 8cb7f53

Browse files
Update src/vector_of_array.jl
1 parent 56a0a46 commit 8cb7f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector_of_array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Base.Array(VA::AbstractVectorOfArray{T,N,A}) where {T,N,A <: AbstractVector{<:Ab
7878
Base.Array(VA::AbstractVectorOfArray{T,N,A}) where {T,N,A <: AbstractVector{<:Number}} = VA.u
7979
Base.Matrix(VA::AbstractVectorOfArray{T,N,A}) where {T,N,A <: AbstractVector{<:AbstractVector}} = reduce(hcat,VA.u)
8080
Base.Matrix(VA::AbstractVectorOfArray{T,N,A}) where {T,N,A <: AbstractVector{<:Number}} = Matrix(VA.u)
81-
Base.Matrix(VA::AbstractVectorOfArray{T,N,A}) where {T,N,A <: AbstractVector{<:AbstractVector}} = vec(reduce(hcat,VA.u))
81+
Base.Vector(VA::AbstractVectorOfArray{T,N,A}) where {T,N,A <: AbstractVector{<:AbstractVector}} = vec(reduce(hcat,VA.u))
8282
Base.Vector(VA::AbstractVectorOfArray{T,N,A}) where {T,N,A <: AbstractVector{<:Number}} = VA.u
8383
function Base.Array(VA::AbstractVectorOfArray)
8484
vecs = vec.(VA.u)

0 commit comments

Comments
 (0)