Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashi Gowda committed Apr 12, 2018
1 parent cecc3ae commit 2ecf8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PooledArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function Base.vcat(a::PooledArray{<:Any, <:Integer, 1}, b::AbstractArray{<:Any,
end

function Base.vcat(a::AbstractArray{<:Any, 1}, b::PooledArray{<:Any, <:Integer, 1})
output = similar(b, promote_type(eltype(a), eltype(b)), length(b) + length(a))
output = similar(a, promote_type(eltype(a), eltype(b)), length(b) + length(a))
_vcat!(output, a, b)
end

Expand Down

0 comments on commit 2ecf8f7

Please sign in to comment.