Skip to content

Commit

Permalink
fix stuff, improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbaran committed Aug 15, 2024
1 parent 1abde05 commit 0a70f9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions test/groups/special_euclidean.jl
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,14 @@ using Manifolds:
@test isapprox(G, q, q_ref)
Y = log_inv(G, p, q)
@test isapprox(G, p, X, Y)

q2 = similar(q)
exp_inv!(G, q2, p, X)
@test isapprox(G, q, q2)

Y2 = similar(Y)
log_inv!(G, Y2, p, q)
@test isapprox(G, p, Y, Y2)
end

@testset "performance of selected operations" begin
Expand Down
2 changes: 1 addition & 1 deletion tutorials/groups.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ for i in 1:5
end
# drop back to a algebra, then coordinate
ArrayPartition([1.0, 0.0, -1.0], xRi) = log(G, p0, aRi)
aXi = log(G, p0, aRi)
aθi = get_coordinates(G, p0, aXi, B)
# should wrap around to 3rd quadrant of xy-plane
Expand Down

0 comments on commit 0a70f9d

Please sign in to comment.