Skip to content

Commit

Permalink
test is_vector cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 15, 2024
1 parent cf4a2b1 commit d8a0929
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/LieGroupsTestSuite.jl/LieGroupsTestSuite.jl
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ function test_exp_log(G::LieGroup, g, h, X; test_exp=true, test_log=true)
log!(G, Y2, g, h)
@test isapprox(𝔤, Y1, Y2)
@test is_point(𝔤, Y1)
# or equivalently
@test is_vector(G, Y1)
@test is_vector(G, Identity(G), Y1)
@test norm(𝔤, log(G, g, g)) 0
@test norm(𝔤, log(G, h, h)) 0
end
Expand Down

0 comments on commit d8a0929

Please sign in to comment.