Skip to content

Commit

Permalink
Remove @inline
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick committed Jul 6, 2021
1 parent 9e4cdb9 commit b461c61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2342,7 +2342,7 @@ function _typed_hvncat(::Type{T}, shape::Tuple{Vararg{Tuple, N}}, row_first::Boo
return A
end

@inline function hvncat_fill!(A::Array, row_first::Bool, xs::Tuple)
function hvncat_fill!(A::Array, row_first::Bool, xs::Tuple)
# putting these in separate functions leads to unnecessary allocations
lenxs = length(xs)
lena = length(A)
Expand Down Expand Up @@ -2370,7 +2370,7 @@ end
end
end

@inline function hvncat_fill!(A::AbstractArray{T, N}, scratch1::Vector{Int}, scratch2::Vector{Int},
function hvncat_fill!(A::AbstractArray{T, N}, scratch1::Vector{Int}, scratch2::Vector{Int},
d1::Int, d2::Int, as::Tuple) where {T, N}
length(scratch1) == length(scratch2) == N ||
throw(ArgumentError("scratch vectors must have as many elements as the destination array has dimensions"))
Expand Down

0 comments on commit b461c61

Please sign in to comment.