From c5fbf73153759fd7c1e9650bb700423f0cdaf1c2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Jun 2023 22:26:17 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- linear_programming/simplex.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linear_programming/simplex.py b/linear_programming/simplex.py index 1c163c126..48dad7fd0 100644 --- a/linear_programming/simplex.py +++ b/linear_programming/simplex.py @@ -26,8 +26,7 @@ class Tableau: ValueError: RHS must be > 0 """ - def __init__( - self, tableau: np.ndarray, n_vars: int, n_art_vars: int) -> None: + def __init__(self, tableau: np.ndarray, n_vars: int, n_art_vars: int) -> None: # Check if RHS is negative if np.any(tableau[:, -1], where=tableau[:, -1] < 0): raise ValueError("RHS must be > 0")