From 5ed8c2e3355fc55b94b4935cae24d7381bbfa781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nh=E1=BA=ADt=20Nguy=E1=BB=85n?= <86871862+minhnhatnoe@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:03:30 +0700 Subject: [PATCH] incorrect tuple unpacking in check_cyclic --- numericals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numericals.py b/numericals.py index bbe03fe..4fb9867 100644 --- a/numericals.py +++ b/numericals.py @@ -702,7 +702,7 @@ def check_perp(points: list[Point]) -> bool: def check_cyclic(points: list[Point]) -> bool: points = list(set(points)) - (a, b, c), *ps = points + (a, b, c, *ps) = points circle = Circle(p1=a, p2=b, p3=c) for d in ps: if not close_enough(d.distance(circle.center), circle.radius):