Skip to content

Commit 3862daf

Browse files
committed
rename VariableState -> State
1 parent 134478e commit 3862daf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IncrementalInference/src/entities/BeliefTypes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ end
8888

8989
function TreeBelief(vari::VariableCompute, solveKey::Symbol = :default; solvableDim::Real = 0)
9090
return TreeBelief(getState(vari, solveKey), solvableDim)
91-
end
91+
end
9292
#
9393

9494
getVariableType(tb::TreeBelief) = tb.variableType

IncrementalInference/src/services/SolverAPI.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ function solveTree!(
394394
nextk = length(allk) == 0 ? 0 : maximum(allk) + 1
395395
newKey = Symbol(:default_, nextk)
396396
DFG.cloneSolveKey!(dfgl, newKey, :default; solvable = 1)
397-
# foreach(x->updateVariableSolverData!(dfgl, x, getVariableState(getVariable(dfgl,x), :default), newKey, true, Symbol[]), ls(dfgl, solvable=1))
397+
# foreach(x->updateVariableSolverData!(dfgl, x, getState(getVariable(dfgl,x), :default), newKey, true, Symbol[]), ls(dfgl, solvable=1))
398398
@info "storeOld=true, previous :default deepcopied into $newKey for solvable==1 variables."
399399
end
400400

0 commit comments

Comments
 (0)