Skip to content

Commit b9b35d9

Browse files
committed
remove recursive similar broadcast
1 parent 19c7ba6 commit b9b35d9

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
@@ -701,7 +701,7 @@ end
701701

702702
function Base.similar(vec::VectorOfArray{
703703
T, N, AT}) where {T, N, AT <: AbstractArray{<:AbstractArray{T}}}
704-
return VectorOfArray(similar.(Base.parent(vec)))
704+
return VectorOfArray(similar(Base.parent(vec)))
705705
end
706706

707707
@inline function Base.similar(VA::VectorOfArray, ::Type{T} = eltype(VA)) where {T}

0 commit comments

Comments
 (0)