Skip to content

Commit

Permalink
Fix a typo in code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 19, 2024
1 parent e1b6059 commit 4947ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PowerManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ function _distance_min(M::AbstractPowerManifold, p, q, m::AbstractInverseRetract
return d
end
function _distance_min(M::AbstractPowerManifold, p, q)
d = 0.0
d = Inf
rep_size = representation_size(M.manifold)
for i in get_iterator(M)
v = distance(M.manifold, _read(M, rep_size, p, i), _read(M, rep_size, q, i))
Expand Down

0 comments on commit 4947ba3

Please sign in to comment.