Skip to content

Potential missing identity_element in v0.6.0, SpecialEuclidean(2)? #408

Description

@dehann

I'm having a little unexpected difficulty around using identity as we had been doing before. Trying to debug something else, but now wondering if this is the correct way for SpecialEuclidean(2) --- i.e. should this work or is the error valid?

M = SpecialEuclidean(2)
G = Identity(M)

Manifolds.identity_element(G)

ERROR: MethodError: no method matching identity_element(::Identity{Manifolds.SemidirectProductOperation{RotationAction{TranslationGroup{Tuple{2}, ℝ}, SpecialOrthogonal{2}, LeftAction}}})
Closest candidates are:
  identity_element(::ProductGroup{𝔽, T} where {𝔽, T}) at /home/dehann/.julia/packages/Manifolds/EY0G1/src/groups/product_group.jl:37
  identity_element(::CircleGroup) at /home/dehann/.julia/packages/Manifolds/EY0G1/src/groups/circle_group.jl:27
  identity_element(::CircleGroup, ::Number) at /home/dehann/.julia/packages/Manifolds/EY0G1/src/groups/circle_group.jl:28
  ..

Originally posted by @dehann in #401 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions