diff --git a/src/core_types.jl b/src/core_types.jl index 0a02acbf..b24b9591 100644 --- a/src/core_types.jl +++ b/src/core_types.jl @@ -78,6 +78,15 @@ end inv(r1) * r2 end +@inline function Base.:\(r::Rotation, v::AbstractVector) + inv(r) * v +end + +# This definition is for avoiding anbiguity +@inline function Base.:\(r::Rotation, v::StaticVector) + inv(r) * v +end + ################################################################################ ################################################################################ """