Skip to content

Commit

Permalink
fix SE exp, log
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbaran committed Aug 4, 2024
1 parent 312e7cb commit a394d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/ManifoldsRecursiveArrayToolsExt/special_euclidean_rat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ end

### Special methods for better performance of selected operations

function exp(M::SpecialEuclidean, p::ArrayPartition, X::ArrayPartition)
function Base.exp(M::SpecialEuclidean, p::ArrayPartition, X::ArrayPartition)
M1, M2 = M.manifold.manifolds
return ArrayPartition(
exp(M1.manifold, p.x[1], X.x[1]),
exp(M2.manifold, p.x[2], X.x[2]),
)
end
function log(M::SpecialEuclidean, p::ArrayPartition, q::ArrayPartition)
function Base.log(M::SpecialEuclidean, p::ArrayPartition, q::ArrayPartition)
M1, M2 = M.manifold.manifolds
return ArrayPartition(
log(M1.manifold, p.x[1], q.x[1]),
Expand Down

0 comments on commit a394d2a

Please sign in to comment.