From 470e4a7543292214958d97b4dcb67fdc16734008 Mon Sep 17 00:00:00 2001 From: Ronny Bergmann Date: Sat, 19 Oct 2024 12:10:17 +0200 Subject: [PATCH] fix syntax errors that appeared in accepting changes. --- src/PowerManifold.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PowerManifold.jl b/src/PowerManifold.jl index 917f5627..f68dfb0a 100644 --- a/src/PowerManifold.jl +++ b/src/PowerManifold.jl @@ -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) @@ -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))