Skip to content

Commit

Permalink
Merge pull request #217 from dlyongemallo/fix_proof_panel_magic_slice
Browse files Browse the repository at this point in the history
Fix wrong variable names when using magic slice in proof panel.
  • Loading branch information
jvdwetering authored Dec 17, 2023
2 parents 15577c8 + 77a1702 commit 6c4bdda
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 6c4bdda

Please sign in to comment.