File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -611,9 +611,7 @@ function addVariable!(
611
611
(:parametric in initsolvekeys) &&
612
612
setDefaultNodeDataParametric! (v, varType; initialized = false , dontmargin = dontmargin)
613
613
614
- DFG. addVariable! (dfg, v)
615
-
616
- return v
614
+ return DFG. addVariable! (dfg, v)
617
615
end
618
616
619
617
function parseusermultihypo (multihypo:: Nothing , nullhypo:: Float64 )
@@ -847,12 +845,12 @@ function DFG.addFactor!(
847
845
)
848
846
#
849
847
850
- success = addFactor! (dfg, newFactor)
848
+ factor = addFactor! (dfg, newFactor)
851
849
852
850
# TODO : change this operation to update a conditioning variable
853
851
graphinit && doautoinit! (dfg, Xi; singles = false )
854
852
855
- return newFactor
853
+ return factor
856
854
end
857
855
858
856
function _checkFactorAdd (usrfnc, xisyms)
Original file line number Diff line number Diff line change @@ -847,7 +847,7 @@ function prepBatchTreeOLD!(
847
847
end
848
848
end
849
849
850
- tree = buildTreeFromOrdering! (dfg, p ; drawbayesnet = false ) # drawbayesnet
850
+ tree = buildTreeFromOrdering! (dfg, Symbol .(p) ; drawbayesnet = false ) # drawbayesnet
851
851
852
852
@info " Bayes Tree Complete"
853
853
if drawpdf
You can’t perform that action at this time.
0 commit comments