From 4947ba337b2e4ef88876f828cd8489783d3b8244 Mon Sep 17 00:00:00 2001 From: Ronny Bergmann Date: Sat, 19 Oct 2024 11:20:46 +0200 Subject: [PATCH] Fix a typo in code. --- src/PowerManifold.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowerManifold.jl b/src/PowerManifold.jl index db688853..0b742e6b 100644 --- a/src/PowerManifold.jl +++ b/src/PowerManifold.jl @@ -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))