Skip to content

Commit 0e11919

Browse files
committed
another getDimension
1 parent 0685566 commit 0e11919

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/services/DFGVariable.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ Interface function to return the `variableType` manifolds of an InferenceVariabl
7676
function getManifolds end
7777

7878
getManifolds(::Type{<:T}) where {T <: ManifoldsBase.Manifold} = convert(Tuple, T)
79-
getManifolds(::T) where {T <: ManifoldsBase.Manifold} = convert(Tuple, T)
79+
getManifolds(::T) where {T <: ManifoldsBase.Manifold} = getManifolds(T)
80+
81+
getDimension(t_::T) where {T <: ManifoldsBase.Manifold} = manifold_dimension(t_)
8082

8183
"""
8284
@defVariable StructName manifolds<:ManifoldsBase.Manifold

0 commit comments

Comments
 (0)