Skip to content

Commit

Permalink
weird self fusion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RazinShaikh committed Jun 29, 2024
1 parent 471fb5e commit f9de154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyzx/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def match_spider_parallel(
e = candidates.pop()
if g.edge_type(e) != EdgeType.SIMPLE: continue
v0, v1 = g.edge_st(e)
if v0 == v1: continue
v0t = types[v0]
v1t = types[v1]
if (v0t == v1t and vertex_is_zx(v0t)) or \
Expand Down

0 comments on commit f9de154

Please sign in to comment.