8000 remove forgotten debug print in timeresp, and unused imports in delay… · python-control/python-control@1150646 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1150646

Browse files
remove forgotten debug print in timeresp, and unused imports in delay_test
1 parent 4870463 commit 1150646

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

control/tests/delay_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
from control.delay import pade
1111

12-
from control.delaylti import delay
13-
from control.xferfcn import tf
14-
1512

1613
class TestPade:
1714
"""Test Pade approx

control/timeresp.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,12 +1299,6 @@ def forced_response(
12991299

13001300
for i in range(1, n_steps):
13011301
xout[:, i] = Ad @ xout[:, i - 1] + Bd0 @ U[:, i - 1] + Bd1 @ U[:, i]
1302-
# debug print
1303-
if i < 10:
1304-
print(
1305-
"dxdt = ",
1306-
(Ad @ xout[:, i - 1] + Bd0 @ U[:, i - 1] + Bd1 @ U[:, i]),
1307-
)
13081302

13091303
yout = C @ xout + D @ U
13101304
tout = T
@@ -1645,8 +1639,6 @@ def step_response(
16451639
U = np.zeros((sys.ninputs, T.size))
16461640
U[i, :] = np.ones_like(T)
16471641

1648-
# print(U)
1649-
16501642
response = forced_response(
16511643
sys,
16521644
T,

0 commit comments

Comments
 (0)
0