Skip to content

Commit 35fa5b3

Browse files
committed
Fix line length in test file
1 parent 68d52d8 commit 35fa5b3

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

control/tests/bdalg_test.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,8 +853,18 @@ def _tf_close_coeff(tf_a, tf_b, rtol=1e-5, atol=1e-8):
853853
# Check coefficient arrays
854854
for i in range(tf_a.noutputs):
855855
for j in range(tf_a.ninputs):
856-
if not np.allclose(tf_a.num[i][j], tf_b.num[i][j], rtol=rtol, atol=atol):
856+
if not np.allclose(
857+
tf_a.num[i][j],
858+
tf_b.num[i][j],
859+
rtol=rtol,
860+
atol=atol,
861+
):
857862
return False
858-
if not np.allclose(tf_a.den[i][j], tf_b.den[i][j], rtol=rtol, atol=atol):
863+
if not np.allclose(
864+
tf_a.den[i][j],
865+
tf_b.den[i][j],
866+
rtol=rtol,
867+
atol=atol,
868+
):
859869
return False
860870
return True

0 commit comments

Comments
 (0)