Skip to content

Commit

Permalink
drop ProductRepr
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Oct 24, 2023
1 parent 873790f commit 56dac74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LazyLieManifolds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ end
# we must use
# seVec = Manifolds.hat(M, coords)

function (p::SE, X::ProductRepr)
function (p::SE, X)
M = manifold(p)
e = identity(M, p.p)
typeof(p)(compose(M, p.p, exp(M, e, X)))
end

(X::ProductRepr, p::SE) = typeof(p)(compose(manifold(p), exp(manifold(p), I_SO2, X), p.p))
(X, p::SE) = typeof(p)(compose(manifold(p), exp(manifold(p), I_SO2, X), p.p))

# I_SO2 = ProductRepr(SA[0.0, 0.0], SA[1.0 0.0; 0 1.0]);

Expand Down

0 comments on commit 56dac74

Please sign in to comment.