Skip to content

Commit

Permalink
fix syntax errors that appeared in accepting changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 19, 2024
1 parent aed8ed4 commit 470e4a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PowerManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ function _distance_1(M::AbstractPowerManifold, p, q)
return s
end
function _distance_max(M::AbstractPowerManifold, p, q, m::AbstractInverseRetractionMethod)
d = float(zero(number_eltype(p))
d = float(zero(number_eltype(p)))
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), m)
Expand All @@ -624,7 +624,7 @@ function _distance_max(M::AbstractPowerManifold, p, q, m::AbstractInverseRetract
return d
end
function _distance_max(M::AbstractPowerManifold, p, q)
d = float(zero(number_eltype(p))
d = float(zero(number_eltype(p)))
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 470e4a7

Please sign in to comment.