From 91a39938433267c0f4a9a047f466223a78c00b61 Mon Sep 17 00:00:00 2001 From: Ronny Bergmann Date: Tue, 7 May 2024 10:33:40 +0200 Subject: [PATCH] Reduce definitions. --- src/manifolds/StiefelEuclideanMetric.jl | 2 +- test/manifolds/stiefel.jl | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/manifolds/StiefelEuclideanMetric.jl b/src/manifolds/StiefelEuclideanMetric.jl index 24619c37a..7b2955aa5 100644 --- a/src/manifolds/StiefelEuclideanMetric.jl +++ b/src/manifolds/StiefelEuclideanMetric.jl @@ -109,7 +109,7 @@ Return the injectivity radius for the [`Stiefel`](@ref) manifold `M`, which is globally ``π`` [ZimmermannStoye:2024](@cite). """ injectivity_radius(::Stiefel) = π -injectivity_radius(::Stiefel, p) = π + @doc raw""" inverse_retract(M::Stiefel, p, q, method::ProjectionInverseRetraction) diff --git a/test/manifolds/stiefel.jl b/test/manifolds/stiefel.jl index 3fc1bb4f5..0a39881e1 100644 --- a/test/manifolds/stiefel.jl +++ b/test/manifolds/stiefel.jl @@ -11,9 +11,7 @@ include("../header.jl") @test representation_size(M) == (3, 2) @test manifold_dimension(M) == 3 @test injectivity_radius(M) == π - @test injectivity_radius(M, p) == π @test injectivity_radius(M2) == π - @test injectivity_radius(M2, p) == π @test !is_flat(M) @test !is_flat(M2) @test is_flat(Stiefel(2, 1))