Skip to content

Commit 130a161

Browse files
committed
hotfix backendset
1 parent 1dd9930 commit 130a161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LightGraphsDFG/services/LightGraphsDFG.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ end
331331

332332
function _isbackendset(dfg::LightGraphsDFG, idx::Int, backendset::Int)::Bool
333333
p = props(dfg.g, idx)
334-
haskey(p, :variable) && (return p[:variable].ready == backendset)
335-
haskey(p, :factor) && (return p[:factor].ready == backendset)
334+
haskey(p, :variable) && (return p[:variable].backendset == backendset)
335+
haskey(p, :factor) && (return p[:factor].backendset == backendset)
336336

337337
#TODO should this be an error?
338338
@warn "Node not a factor or variable"

0 commit comments

Comments
 (0)