Why this fails?
μ = @SVector randn(3)
Σ = @SMatrix randn(3,3)
Σ = Σ * Σ'
@assert Σ == Σ'
inv(MvNormal(μ, Σ).Σ)
# PosDefException: matrix is not Hermitian; Cholesky factorization failed.
If I do the same with normal arrays (non-static),
μ = randn(3)
Σ = randn(3,3)
Σ = Σ * Σ'
@assert Σ == Σ'
inv(MvNormal(μ, Σ).Σ) # works!
Therefore the issue is related to StaticArrays.