Skip to content

Commit c2ae4df

Browse files
committed
getDimension(::DFGVariable) from IIF
1 parent 3d33f71 commit c2ae4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/DFGVariable.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function getDimension end
117117
getDimension(::Type{T}) where {T <: InferenceVariable} = manifold_dimension(getManifold(T))
118118
getDimension(::T) where {T <: InferenceVariable} = manifold_dimension(getManifold(T))
119119
getDimension(M::ManifoldsBase.AbstractManifold) = manifold_dimension(M)
120-
120+
getDimension(var::DFGVariable) = getDimension(getVariableType(var))
121121

122122

123123
##------------------------------------------------------------------------------

0 commit comments

Comments
 (0)