Skip to content

Points on a ProductManifold are not AbstractManifoldPoints #283

Description

@NKlug

I hope this issue is in the correct repository.
Essentially, points on a ProductManifold points are not AbstractManifoldPoints and tangent vectors are not AbstractTangentVectors.

MWE:

using Manifolds
using RecursiveArrayTools

M = Euclidean(3) × Euclidean(2)

println(M isa ProductManifold) # true
println(M isa AbstractManifold) # true

p = rand(M)
println(p isa AbstractManifoldPoint) # false

X = rand(M, vector_at=p)
println(X isa AbstractTangentVector) # false

This is a bit inconvenient at times, since functions typed f(::AbstractTangentVector) do not work automatically. Is there any way to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions