Skip to content

Commit

Permalink
forgot to run formatter one final time.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 9, 2024
1 parent ab96768 commit 123a1fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions src/group_operations/addition.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ to `+` and `-` being overloaded, for example
"""
struct AdditionGroupOperation <: AbstractGroupOperation end

const _AdditionLieGroup = LieGroup{𝔽,M,AdditionGroupOperation} where {𝔽, M}
const _AdditionLieGroup = LieGroup{𝔽,M,AdditionGroupOperation} where {𝔽,M}

#
#
Expand Down Expand Up @@ -41,18 +41,15 @@ end

Base.log(::LieGroup{𝔽,M,AdditionGroupOperation}, q) where {𝔽,M} = q
function Base.log(
::LieGroup{𝔽,M,AdditionGroupOperation},
::Identity{AdditionGroupOperation},
::LieGroup{𝔽,M,AdditionGroupOperation}, ::Identity{AdditionGroupOperation}
) where {𝔽,M}
return zero_vector(G, identity_element(G))
end
function ManifoldsBase.log!(G::LieGroup{𝔽,M,AdditionGroupOperation}, X, q) where {𝔽,M}
return copyto!(G, X, q)
end
function ManifoldsBase.log!(
G::LieGroup{𝔽,M,AdditionGroupOperation},
X,
::Identity{AdditionGroupOperation},
G::LieGroup{𝔽,M,AdditionGroupOperation}, X, ::Identity{AdditionGroupOperation}
) where {𝔽,M}
return zero_vector!(G, X, identity_element(G))
end
end
2 changes: 1 addition & 1 deletion src/groups/translation_group.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ The Lie group consisting of the [`AdditionGroupOperation`](@ref) on some
TODO
"""
const TranslationGroup{𝔽} = LieGroup{𝔽,Euclidean,AdditionGroupOperation}
const TranslationGroup{𝔽} = LieGroup{𝔽,Euclidean,AdditionGroupOperation}

0 comments on commit 123a1fe

Please sign in to comment.