This commit is contained in:
imengus 2023-08-15 13:28:03 +01:00
parent 3e3955530d
commit da21cb4832

View File

@ -37,7 +37,9 @@ class Tableau:
"""
# Max iteration number to prevent cycling
maxiter = 100
def __init__(self, tableau: np.ndarray, n_vars: int, n_artificial_vars: int) -> None:
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')