Skip to content

Commit

Permalink
removing unnecessary yield
Browse files Browse the repository at this point in the history
  • Loading branch information
RazinShaikh committed Jul 12, 2024
1 parent 2d82f17 commit e1f3d26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyzx/graph/multigraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ def edges(self, s=None, t=None):
s, t = (s, t) if s < t else (t, s)
if t not in self.graph[s]:
return
yield
e = self.graph[s][t]
for _ in range(e.s): yield (s, t, EdgeType.SIMPLE)
for _ in range(e.h): yield (s, t, EdgeType.HADAMARD)
Expand Down

0 comments on commit e1f3d26

Please sign in to comment.