Skip to content

Commit e0b03d0

Browse files
committed
update test file
1 parent 7e433c7 commit e0b03d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_defVariable.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ macro defVariable(structname, manifold)
1616
return esc(quote
1717
Base.@__doc__ struct $structname <: InferenceVariable end
1818

19-
@assert ($manifold isa Manifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.AbstractManifold`"
19+
@assert ($manifold isa AbstractManifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.AbstractManifold`"
2020

2121
# manifold must be is a <:Manifold
22-
Base.convert(::Type{<:Manifold}, ::Union{<:T, Type{<:T}}) where {T <: $structname} = $manifold
22+
Base.convert(::Type{<:AbstractManifold}, ::Union{<:T, Type{<:T}}) where {T <: $structname} = $manifold
2323

2424
getManifold(::Type{M}) where {M <: $structname} = $manifold
2525
getManifold(::M) where {M <: $structname} = getManifold(M)

0 commit comments

Comments
 (0)