File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -235,8 +235,7 @@ function calcPPE(
235
235
varType:: InferenceVariable = getVariableType (var);
236
236
ppeType:: Type{<:MeanMaxPPE} = MeanMaxPPE,
237
237
solveKey:: Symbol = :default ,
238
- ppeKey:: Symbol = solveKey,
239
- timestamp = now (),
238
+ ppeKey:: Symbol = solveKey
240
239
)
241
240
#
242
241
P = getBelief (var, solveKey)
@@ -268,7 +267,6 @@ function calcPPE(
268
267
suggested= Pme_,
269
268
max= Pma,
270
269
mean= Pme_,
271
- createdTimestamp= ZonedDateTime (timestamp, localzone ())
272
270
)
273
271
end
274
272
Original file line number Diff line number Diff line change @@ -613,9 +613,7 @@ function addVariable!(
613
613
(:parametric in initsolvekeys) &&
614
614
setDefaultNodeDataParametric! (v, varType; initialized = false , dontmargin = dontmargin)
615
615
616
- DFG. addVariable! (dfg, v)
617
-
618
- return v
616
+ return DFG. addVariable! (dfg, v)
619
617
end
620
618
621
619
function parseusermultihypo (multihypo:: Nothing , nullhypo:: Float64 )
@@ -849,12 +847,12 @@ function DFG.addFactor!(
849
847
)
850
848
#
851
849
852
- success = addFactor! (dfg, newFactor)
850
+ factor = addFactor! (dfg, newFactor)
853
851
854
852
# TODO : change this operation to update a conditioning variable
855
853
graphinit && doautoinit! (dfg, Xi; singles = false )
856
854
857
- return newFactor
855
+ return factor
858
856
end
859
857
860
858
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