From a07264c22fdcc590373ee734c29f62e6a477a3fd Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Wed, 21 Feb 2024 17:27:22 -0500 Subject: [PATCH] Update src/vector_of_array.jl --- src/vector_of_array.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector_of_array.jl b/src/vector_of_array.jl index af4432b9..0af4c507 100644 --- a/src/vector_of_array.jl +++ b/src/vector_of_array.jl @@ -731,7 +731,7 @@ function Base.similar(vec::VectorOfArray{ end # special-case when the multi-dimensional parent array is just an AbstractVector (call the old method) -@inline function Base.similar(vec::VectorOfArray{ +function Base.similar(vec::VectorOfArray{ T, N, AT}) where {T, N, AT <: AbstractVector{<:AbstractArray{T}}} return Base.similar(vec, eltype(vec)) end