Skip to content

Commit c03daf0

Browse files
committed
context of ManifoldsBase fix
1 parent e0b03d0 commit c03daf0

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
@@ -104,7 +104,7 @@ macro defVariable(structname, manifold)
104104
@assert ($manifold isa AbstractManifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.AbstractManifold`"
105105

106106
# user manifold must be a <:Manifold
107-
Base.convert(::Type{<:ManifoldsBase.AbstractManifold}, ::Union{<:T, Type{<:T}}) where {T <: $structname} = $manifold
107+
Base.convert(::Type{<:AbstractManifold}, ::Union{<:T, Type{<:T}}) where {T <: $structname} = $manifold
108108

109109
getManifold(::Type{M}) where {M <: $structname} = $manifold
110110
getManifold(::M) where {M <: $structname} = getManifold(M)

0 commit comments

Comments
 (0)