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?
I hope this issue is in the correct repository.
Essentially, points on a
ProductManifoldpoints are notAbstractManifoldPoints and tangent vectors are notAbstractTangentVectors.MWE:
This is a bit inconvenient at times, since functions typed
f(::AbstractTangentVector)do not work automatically. Is there any way to resolve this?