We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ffec0 commit 58c8195Copy full SHA for 58c8195
src/NeedsAHome.jl
@@ -15,6 +15,6 @@ end
15
16
Return `::Bool` on whether `dfg` contains the variable `lbl::Symbol`.
17
"""
18
-function hasVariable(dfg::G, lbl::Symbol)::Bool where {G <: AbstractDFG}
19
- haskey(dfg.labelDict, label) # haskey(vertices(dfg.g), lbl)
+function hasVariable(dfg::G, label::Symbol)::Bool where {G <: AbstractDFG}
+ return haskey(dfg.labelDict, label) # haskey(vertices(dfg.g), label)
20
end
0 commit comments