Skip to content

Commit

Permalink
Reduce definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed May 7, 2024
1 parent 2992887 commit 91a3993
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/manifolds/StiefelEuclideanMetric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Return the injectivity radius for the [`Stiefel`](@ref) manifold `M`,
which is globally ``π`` [ZimmermannStoye:2024](@cite).
"""
injectivity_radius(::Stiefel) = π

Check warning on line 111 in src/manifolds/StiefelEuclideanMetric.jl

View check run for this annotation

Codecov / codecov/patch

src/manifolds/StiefelEuclideanMetric.jl#L111

Added line #L111 was not covered by tests
injectivity_radius(::Stiefel, p) = π


@doc raw"""
inverse_retract(M::Stiefel, p, q, method::ProjectionInverseRetraction)
Expand Down
2 changes: 0 additions & 2 deletions test/manifolds/stiefel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 91a3993

Please sign in to comment.