fix whitespace

This commit is contained in:
imengus 2023-08-15 13:48:12 +01:00
parent d8ebfc8bf3
commit 8bfb5912d3

View File

@ -38,11 +38,12 @@ class Tableau:
# Max iteration number to prevent cycling
maxiter = 100
def __init__(
self, tableau: np.ndarray, n_vars: int, n_artificial_vars: int
) -> None:
if tableau.dtype != 'float64':
raise TypeError('Tableau must have type float64')
if tableau.dtype != "float64":
raise TypeError("Tableau must have type float64")
# Check if RHS is negative
if not (tableau[:, -1] >= 0).all():