Skip to content

Commit ed0fd4c

Browse files
committed
fix isInit function
1 parent 9f0834d commit ed0fd4c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/NeedsAHome.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,5 @@ function isInitialized(fct::DFGFactor; key::Symbol=:default)::Bool
3636
return fct.solverDataDict[key].initialized
3737
end
3838
function isInitialized(dfg::G, label::Symbol; key::Symbol=:default)::Bool where G <: AbstractDFG
39-
# nothing to do for factors
40-
# return dfg.g.vertices[dfg.labelDict[label]].dfgNode.solverDataDict[key].initialized
41-
return true
39+
return isInitialized(getVariable(dfg, label), key=key)
4240
end

0 commit comments

Comments
 (0)