Skip to content

Commit

Permalink
Maybe now?
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 19, 2024
1 parent b6c48f1 commit 2489652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/product_manifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ using RecursiveArrayTools
p1 = ArrayPartition([1.0, 0.0, 0.0], 1 / sqrt(2) .* [1.0, 1.0, 0.0])
p2 = ArrayPartition(1 / sqrt(2) .* [1.0, 1.0, 0.0], [0.0, 1.0, 0.0])
m = ProjectionInverseRetraction()
ds = distance.(Ref(M1), p1, p2, Ref(m))
ds = [distance(M1, p1.x[i], p2.x[i], m) for i in [1, 2]]
@test distance(M, p1, p2, m) == norm(ds)
@test distance(M, p1, p2, m, 1) == norm(ds, 1)
@test distance(M, p1, p2, m, 2) == norm(ds, 2)
Expand Down

0 comments on commit 2489652

Please sign in to comment.