Skip to content
Prev Previous commit
Next Next commit
remove checks in wrapper
  • Loading branch information
saasaa committed Sep 23, 2023
commit 3a97769f235ccea36600cc78e714927816d745f5
7 changes: 0 additions & 7 deletions slycot/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ def mb02ed(typet: str,T: np.ndarray, B: np.ndarray, n: int, k: int, nrhs: int):
"info",
]

if k < 0:
raise SlycotParameterError(message="k must be >= 0",info=-2)
if n< 0:
raise SlycotParameterError(message="n must be >= 0", info=-3)
if nrhs < 0:
raise SlycotParameterError(message="nrhs must be >= 0", info=-4)

T, X, info = _wrapper.mb02ed(typet=typet, k=k, n=n, nrhs=nrhs, t=T, b=B)

raise_if_slycot_error(info, arg_list, docstring=mb02ed.__doc__, checkvars=locals())
Expand Down