Skip to content

Commit 69f0e28

Browse files
committed
fix test on AbstractManifold context
1 parent a2519c8 commit 69f0e28

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
@@ -101,7 +101,7 @@ macro defVariable(structname, manifold)
101101
return esc(quote
102102
Base.@__doc__ struct $structname <: InferenceVariable end
103103

104-
@assert ($manifold isa ManifoldsBase.AbstractManifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.AbstractManifold`"
104+
@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
107107
Base.convert(::Type{<:ManifoldsBase.AbstractManifold}, ::Union{<:T, Type{<:T}}) where {T <: $structname} = $manifold

0 commit comments

Comments
 (0)