Again, Vector{Vector{<:Real}} is not a shorthand for Vector{Vector{T}} where T<:Real, the shorthand only works across 1 layer of curly braces. See my preceding comment for the type it is a shorthand for. Covariance and invariance are red herrings here.
2 Likes