You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/services/DFGVariable.jl
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ Interface function to return the `variableType` dimension of an InferenceVariabl
70
70
function getDimension end
71
71
"""
72
72
$SIGNATURES
73
-
Interface function to return the `<:ManifoldsBase.Manifold` object of `variableType<:InferenceVariable`, extend this function for all `Types<:InferenceVariable`.
73
+
Interface function to return the `<:ManifoldsBase.AbstractManifold` object of `variableType<:InferenceVariable`, extend this function for all `Types<:InferenceVariable`.
@assert ($manifold isa Manifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.Manifold`"
104
+
@assert ($manifold isa Manifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.AbstractManifold`"
105
105
106
106
# user manifold must be a <:Manifold
107
107
Base.convert(::Type{<:Manifold}, ::Union{<:T, Type{<:T}}) where {T <:$structname} =$manifold
@assert ($manifold isa Manifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.Manifold`"
19
+
@assert ($manifold isa Manifold) "@defVariable of "*string($structname)*" requires that the "*string($manifold)*" be a subtype of `ManifoldsBase.AbstractManifold`"
20
20
21
21
# manifold must be is a <:Manifold
22
22
Base.convert(::Type{<:Manifold}, ::Union{<:T, Type{<:T}}) where {T <:$structname} =$manifold
0 commit comments