Skip to content

Commit

Permalink
better fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Jul 20, 2022
1 parent d347d95 commit 43005c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Legacy.jl
Expand Up @@ -683,9 +683,9 @@ end
# rem(-pi, 2pi)

# = [[cos(th);-sin(th)]';[sin(th);cos(th)]'];
@deprecate R(th::Real) (M=SpecialOrthogonal(2); e0=identity_element(M); exp(M,e0, hat(M,e0,th)))
@deprecate R(th::Real) (M=SpecialOrthogonal(2); exp_lie(M, hat(M, Identity(M), th)))
# convert(SO3, so3([x,y,z]))
@deprecate R(;x::Real=0.0,y::Real=0.0,z::Real=0.0) (M=SpecialOrthogonal(3); e0=identity_element(M); exp(M,e0,hat(M, e0,[x,y,z]))) |> SO3
@deprecate R(;x::Real=0.0,y::Real=0.0,z::Real=0.0) (M=SpecialOrthogonal(3); exp_lie(M, hat(M, Identity(M), SA[x;y;z]))) |> SO3


function vee!(rv::Vector{<:Real}, alg::so3)
Expand Down

0 comments on commit 43005c1

Please sign in to comment.