Skip to content

Commit

Permalink
removed the scalar todo
Browse files Browse the repository at this point in the history
  • Loading branch information
RazinShaikh committed Jul 31, 2024
1 parent 3b7007d commit df8c9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzx/editor_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def update_etab(etab, new_vertex, neighbors, loops):
update_etab(etab, new_vertex1, neighbors1, loops1)
update_etab(etab, new_vertex2, neighbors2, loops2)

g.scalar.add_power(-(len(neighbors1)-1)*(len(neighbors2)-1)) #TODO: not sure if this is correct
g.scalar.add_power(-(len(neighbors1)-1)*(len(neighbors2)-1))

return (etab, type1_vertices + type2_vertices, [], False)

Expand Down

0 comments on commit df8c9a2

Please sign in to comment.