Skip to content

Commit eef0811

Browse files
committed
update comments and depr
1 parent 967bf09 commit eef0811

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Deprecated.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ const fetchData = getDataEntryBlob
8383
## softtype deprections
8484
function Base.getproperty(x::InferenceVariable, f::Symbol)
8585
if f==:dims
86-
Base.depwarn("Softtype $(typeof(x)), field dims is deprecated, extend and use `getDimension` instead",:getproperty)
86+
Base.depwarn("varType $(typeof(x)), field dims is deprecated, extend and use `getDimension` instead",:getproperty)
8787
elseif f==:manifolds
88-
Base.depwarn("Softtype $(typeof(x)), field manifolds is deprecated, extend and use `getManifolds` instead",:getproperty)
88+
Base.depwarn("varType $(typeof(x)), field manifolds is deprecated, extend and use `getManifold` instead",:getproperty)
8989
else
9090
if !(@isdefined softtypeFieldsWarnOnce)
91-
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)
91+
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)
9292
global softtypeFieldsWarnOnce = true
9393
end
9494
end

src/LightDFG/services/LightDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ Example
374374
using IncrementalInference
375375
376376
# canonical example graph as example
377-
fg = generateCanonicalFG_Kaess()
377+
fg = generateGraph_Kaess()
378378
379379
@show path = findShortestPathDijkstra(fg, :x1, :x3)
380380
@show isVariable.(fg, path)

0 commit comments

Comments
 (0)