Skip to content

Commit c6d26f1

Browse files
committed
Remove unused ss_{siso,mimo} variables
It looks like a block of code was copied-and-pasted between two test functions; removed the unused variable in each case.
1 parent fb0519c commit c6d26f1

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

control/tests/frd_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ def test_truediv_mimo_siso(self):
572572
omega = np.logspace(-1, 1, 10)
573573
tf_mimo = TransferFunction([1], [1, 0]) * np.eye(2)
574574
frd_mimo = frd(tf_mimo, omega)
575-
ss_mimo = ct.tf2ss(tf_mimo)
576575
tf_siso = TransferFunction([1], [1, 1])
577576
frd_siso = frd(tf_siso, omega)
578577
expected = frd(tf_mimo.__truediv__(tf_siso), omega)
@@ -601,7 +600,6 @@ def test_rtruediv_mimo_siso(self):
601600
ss_mimo = ct.tf2ss(tf_mimo)
602601
tf_siso = TransferFunction([1], [1, 1])
603602
frd_siso = frd(tf_siso, omega)
604-
ss_siso = ct.tf2ss(tf_siso)
605603
expected = frd(tf_siso.__rtruediv__(tf_mimo), omega)
606604

607605
# Test division of MIMO FRD by SISO FRD

0 commit comments

Comments
 (0)