Skip to content

Commit

Permalink
Fix wrong variable names when using magic slice in proof panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyongemallo committed Dec 17, 2023
1 parent 9822dda commit 77a1702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zxlive/proof_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def cross(a: QPointF, b: QPointF) -> float:
if not ok:
return False
try:
phase = string_to_complex(text) if phase_is_complex else string_to_phase(input_, graph)
phase = string_to_complex(text) if phase_is_complex else string_to_phase(text, self.graph)
except ValueError:
show_error_msg("Invalid Input", error_msg)
return False
Expand Down

0 comments on commit 77a1702

Please sign in to comment.