From eef0811884bd757d7b77a60762bb730fa586bd7b Mon Sep 17 00:00:00 2001 From: dehann Date: Mon, 22 Nov 2021 09:41:20 -0500 Subject: [PATCH] update comments and depr --- src/Deprecated.jl | 6 +++--- src/LightDFG/services/LightDFG.jl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Deprecated.jl b/src/Deprecated.jl index 8bfd4763..b4eaf4f2 100644 --- a/src/Deprecated.jl +++ b/src/Deprecated.jl @@ -83,12 +83,12 @@ const fetchData = getDataEntryBlob ## softtype deprections function Base.getproperty(x::InferenceVariable, f::Symbol) if f==:dims - Base.depwarn("Softtype $(typeof(x)), field dims is deprecated, extend and use `getDimension` instead",:getproperty) + Base.depwarn("varType $(typeof(x)), field dims is deprecated, extend and use `getDimension` instead",:getproperty) elseif f==:manifolds - Base.depwarn("Softtype $(typeof(x)), field manifolds is deprecated, extend and use `getManifolds` instead",:getproperty) + Base.depwarn("varType $(typeof(x)), field manifolds is deprecated, extend and use `getManifold` instead",:getproperty) else if !(@isdefined softtypeFieldsWarnOnce) - Base.depwarn("Softtype $(typeof(x)), will be required to be a singleton type in the future and can no longer have fields. *.$f called. Further warnings are suppressed",:getproperty) + Base.depwarn("varType $(typeof(x)), will be required to be a singleton type in the future and can no longer have fields. *.$f called. Further warnings are suppressed",:getproperty) global softtypeFieldsWarnOnce = true end end diff --git a/src/LightDFG/services/LightDFG.jl b/src/LightDFG/services/LightDFG.jl index 36823c58..390c5fb5 100644 --- a/src/LightDFG/services/LightDFG.jl +++ b/src/LightDFG/services/LightDFG.jl @@ -374,7 +374,7 @@ Example using IncrementalInference # canonical example graph as example -fg = generateCanonicalFG_Kaess() +fg = generateGraph_Kaess() @show path = findShortestPathDijkstra(fg, :x1, :x3) @show isVariable.(fg, path)