mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
fix ruff
This commit is contained in:
parent
3e3955530d
commit
da21cb4832
@ -37,7 +37,9 @@ class Tableau:
|
|||||||
"""
|
"""
|
||||||
# Max iteration number to prevent cycling
|
# Max iteration number to prevent cycling
|
||||||
maxiter = 100
|
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':
|
if tableau.dtype != 'float64':
|
||||||
raise TypeError('Tableau must have type float64')
|
raise TypeError('Tableau must have type float64')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user