Skip to content

Commit 00380d3

Browse files
Update vector_of_array.jl
1 parent 83fee26 commit 00380d3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/vector_of_array.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Base.@propagate_inbounds function Base.getindex(A::AbstractVectorOfArray{T, N},
7777
I::AbstractArray{Bool},J::Colon...) where {T, N}
7878
@assert length(J) == ndims(A.u[1])+1-ndims(I)
7979
@assert size(I) == size(A)[1:ndims(A)-length(J)]
80-
vecs = vec.(A.u)
8180
return A[repeat([:], length(size(A)))...][I,J...]
8281
end
8382

0 commit comments

Comments
 (0)