Skip to content

Commit 2e6acf1

Browse files
committed
New vcat method for nightly
1 parent 314e8dc commit 2e6acf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/array_interface.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ function Base.vcat(x::AbstractComponentVecOrMat, y::AbstractComponentVecOrMat)
5656
end
5757
Base.vcat(x::CV...) where {CV<:AdjOrTransComponentArray} = ComponentArray(reduce(vcat, map(y->getdata(y.parent)', x)), getaxes(x[1]))
5858
Base.vcat(x::ComponentVector, args...) = vcat(getdata(x), getdata.(args)...)
59+
Base.vcat(x::ComponentVector, args::Union{Number, UniformScaling, AbstractVecOrMat}...) = vcat(getdata(x), getdata.(args)...)
5960
Base.vcat(x::ComponentVector, args::Vararg{AbstractVector{T}, N}) where {T,N} = vcat(getdata(x), getdata.(args)...)
6061

6162
function Base.hvcat(row_lengths::Tuple{Vararg{Int}}, xs::AbstractComponentVecOrMat...)

0 commit comments

Comments
 (0)