From 77a17028b5c3bbeda4bfdaed76a723c37302817f Mon Sep 17 00:00:00 2001 From: David Yonge-Mallo Date: Sun, 17 Dec 2023 06:57:44 +0100 Subject: [PATCH] Fix wrong variable names when using magic slice in proof panel. --- zxlive/proof_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zxlive/proof_panel.py b/zxlive/proof_panel.py index f0ec1b6a..b253b81d 100644 --- a/zxlive/proof_panel.py +++ b/zxlive/proof_panel.py @@ -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