You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described at JuliaArrays/StaticArrays.jl#763, Rotations relies on a particular buggy definition in StaticArrays for zero and one where the constructor of the static matrix type is called.
We should implement one(::Type{R<:Rotation}) here so we don't rely on that bug and so we can return something which isa R.
For zero we currently we have the following oddity (should not return a RotMatrix!). This is a bug which should be fixed in StaticArrays:
julia>zero(RotMatrix{2})
2×2 RotMatrix{2,Float64,4} with indices SOneTo(2)×SOneTo(2):0.00.00.00.0