Skip to content

Commit

Permalink
Update src/vector_of_array.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Feb 21, 2024
1 parent 859793e commit a07264c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector_of_array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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{

Check warning on line 734 in src/vector_of_array.jl

View check run for this annotation

Codecov / codecov/patch

src/vector_of_array.jl#L734

Added line #L734 was not covered by tests
T, N, AT}) where {T, N, AT <: AbstractVector{<:AbstractArray{T}}}
return Base.similar(vec, eltype(vec))

Check warning on line 736 in src/vector_of_array.jl

View check run for this annotation

Codecov / codecov/patch

src/vector_of_array.jl#L736

Added line #L736 was not covered by tests
end
Expand Down

0 comments on commit a07264c

Please sign in to comment.