-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9082e60
commit dc55d78
Showing
2 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -659,7 +659,7 @@ function injectivity_radius(M::ProductManifold, p, m::AbstractRetractionMethod) | |
)..., | ||
) | ||
end | ||
function _injectivity_radius(M::ProductManifold, p, m::ProductRetraction) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mateuszbaran
Author
Member
|
||
function injectivity_radius(M::ProductManifold, p, m::ProductRetraction) | ||
return min( | ||
map( | ||
(lM, lp, lm) -> injectivity_radius(lM, lp, lm), | ||
|
@@ -673,7 +673,7 @@ injectivity_radius(M::ProductManifold) = min(map(injectivity_radius, M.manifolds | |
function injectivity_radius(M::ProductManifold, m::AbstractRetractionMethod) | ||
return min(map(manif -> injectivity_radius(manif, m), M.manifolds)...) | ||
end | ||
function _injectivity_radius(M::ProductManifold, m::ProductRetraction) | ||
function injectivity_radius(M::ProductManifold, m::ProductRetraction) | ||
return min(map((lM, lm) -> injectivity_radius(lM, lm), M.manifolds, m.retractions)...) | ||
end | ||
|
||
|
@@ -728,18 +728,6 @@ for TP in [ProductRepr, ArrayPartition] | |
) | ||
end | ||
|
||
function _inverse_retract!(M::ProductManifold, X, p, q, method::InverseProductRetraction) | ||
map( | ||
inverse_retract!, | ||
M.manifolds, | ||
submanifold_components(M, X), | ||
submanifold_components(M, p), | ||
submanifold_components(M, q), | ||
method.inverse_retractions, | ||
) | ||
return X | ||
end | ||
|
||
function Base.isapprox(M::ProductManifold, p, q; kwargs...) | ||
return all( | ||
t -> isapprox(t...; kwargs...), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I thought we dispatched on the retraction type only on level 2 (i.e. the
_...
functions?