Constructing a length=1 SVector, with element a length=1 SVector results in one container being peeled away.
SVector(SVector(x))===SVector(x) forall x...
eltype(SVector(SVector(:a))) returns Symbol
SVector{1,SVector{1,Int64}}(SVector(1))
ERROR: MethodError: Cannot `convert` an object of type Int64 to an object of type SVector{1, Int64}
That's with StaticArrays v1.9.16, but also StaticArrays v1.9.18
Constructing a length=1
SVector, with element a length=1SVectorresults in one container being peeled away.SVector(SVector(x))===SVector(x)forall x...eltype(SVector(SVector(:a)))returnsSymbolThat's with StaticArrays v1.9.16, but also StaticArrays v1.9.18