Skip to content

Commit

Permalink
Remove old fallback method
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick committed Jun 6, 2021
1 parent e5b9ba7 commit 1157b77
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions base/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2020,17 +2020,6 @@ _typed_hvcat(T::Type, rows::Tuple{Vararg{Int}}, xs...) = _typed_hvncat(T, (lengt
_typed_hvcat(T::Type, rows::Tuple{Vararg{Int}}, xs::AbstractArray...) = _typed_hvncat(T, (length(rows), rows[1]), true, xs...)
_typed_hvcat(::Type{T}, rows::Tuple{Vararg{Int}}, xs::AbstractArray{T}...) where T = _typed_hvncat(T, (length(rows), rows[1]), true, xs...)

function _typed_hvcat(::Type{T}, rows::Tuple{Vararg{Int}}, as...) where T
nbr = length(rows) # number of block rows
rs = Vector{Any}(undef, nbr)
a = 1
for i = 1:nbr
rs[i] = typed_hcat(T, as[a:a-1+rows[i]]...)
a += rows[i]
end
T[rs...;]
end

# nd concatenation

"""
Expand Down

0 comments on commit 1157b77

Please sign in to comment.