Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Baran <[email protected]>
  • Loading branch information
kellertuer and mateuszbaran authored May 19, 2024
1 parent 38c3d9b commit a311105
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/PowerManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ end
getindex(M::TangentSpace{𝔽, AbstractPowerManifold}, i...)
TpM[i...]
access the `i`th manifold component from a [`AbstractPowerManifold`](@ref)s tangent space `TpM`.
Access the `i`th manifold component from an [`AbstractPowerManifold`](@ref)s' tangent space `TpM`.
"""
function Base.getindex(
TpM::TangentSpace{𝔽,<:AbstractPowerManifold},
Expand Down
4 changes: 2 additions & 2 deletions src/ProductManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ access the `i`th manifold component from the [`ProductManifold`](@ref) `M`.
@inline Base.getindex(M::ProductManifold, i::Integer) = M.manifolds[i]

"""
getindex(M::TangentSpace{𝔽, ProductManifold}, i)
getindex(M::TangentSpace{𝔽,<:ProductManifold}, i::Integer)
TpM[i]
access the `i`th manifold component from a [`ProductManifold`](@ref)s tangent space `TpM`.
Access the `i`th manifold component from a [`ProductManifold`](@ref)s' tangent space `TpM`.
"""
function Base.getindex(TpM::TangentSpace{𝔽,<:ProductManifold}, i::Integer) where {𝔽}
M = base_manifold(TpM)
Expand Down
2 changes: 1 addition & 1 deletion src/TangentSpace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function allocate_result(M::TangentSpace, ::typeof(rand))
end

@doc raw"""
bae_point(TpM::TangentSpace)
base_point(TpM::TangentSpace)
Return the base point of the [`TangentSpace`](@ref).
"""
Expand Down

0 comments on commit a311105

Please sign in to comment.