From 3c9e83ef0ed97fd380470ad88d46b73fcb96f361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D0=BE=D0=B9?= Date: Thu, 14 Dec 2023 05:48:27 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B8=D0=BA=D1=80=D0=BE=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BE=D1=87=D0=BA=D0=B8=20x2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 57099f8..7007f98 100644 --- a/src/main.py +++ b/src/main.py @@ -55,7 +55,7 @@ class Simplex: def iteration(self) -> bool: main_column = self.max_delta_column() - if abs(main_column.delta) <= 0.00000000001: + if main_column.delta <= 0.00000000001: return False main_column_values = main_column.inner.copy()