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 1dd9930 commit 130a161Copy full SHA for 130a161
src/LightGraphsDFG/services/LightGraphsDFG.jl
@@ -331,8 +331,8 @@ end
331
332
function _isbackendset(dfg::LightGraphsDFG, idx::Int, backendset::Int)::Bool
333
p = props(dfg.g, idx)
334
- haskey(p, :variable) && (return p[:variable].ready == backendset)
335
- haskey(p, :factor) && (return p[:factor].ready == backendset)
+ haskey(p, :variable) && (return p[:variable].backendset == backendset)
+ haskey(p, :factor) && (return p[:factor].backendset == backendset)
336
337
#TODO should this be an error?
338
@warn "Node not a factor or variable"
0 commit comments