8000 fix the removed MIMO test, and add it again · MorS25/python-control@731112b · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 731112b

Browse files
committed
fix the removed MIMO test, and add it again
1 parent 8808a01 commit 731112b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

control/tests/timeresp_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ def test_initial_response(self):
115115
np.testing.assert_array_almost_equal(y_00, youttrue, decimal=4)
116116
np.testing.assert_array_almost_equal(y_11, youttrue, decimal=4)
117117

118-
119-
@unittest.skip("skipping test_initial_response_no_trim: known output dimension error")
120118
def test_initial_response_no_trim(self):
121119
# test MIMO system without trimming
122120
t = np.linspace(0, 1, 10)
@@ -126,7 +124,7 @@ def test_initial_response_no_trim(self):
126124
sys = self.mimo_ss1
127125
_t, yy = initial_response(sys, T=t, X0=x0)
128126
np.testing.assert_array_almost_equal(
129-
yy, np.hstack((youttrue, youttrue)),
127+
yy, np.vstack((youttrue, youttrue)),
130128
decimal=4)
131129

132130
def test_forced_response(self):

0 commit comments

Comments
 (0)
0