Skip to content

Commit 59f4b86

Browse files
Update src/vector_of_array.jl
1 parent 7b2613c commit 59f4b86

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
@@ -217,7 +217,7 @@ function Base.firstindex(VA::AbstractVectorOfArray)
217217
end
218218

219219
function Base.lastindex(VA::AbstractVectorOfArray)
220-
Base.depwarn("Linear indexing of `AbstractVectorOfArray` is deprecated", :lastindex)
220+
Base.depwarn("Linear indexing of `AbstractVectorOfArray` is deprecated. Change `A[i]` to `A.u[i]` ", :lastindex)
221221
return lastindex(VA.u)
222222
end
223223

0 commit comments

Comments
 (0)