Skip to content

Commit b3287f9

Browse files
committed
fixed small bug in step response
1 parent 80bd3d5 commit b3287f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

control/matlab/timeresp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ def step(sys, T=None, X0=0., input=0, output=None, return_x=False):
5858
'''
5959
from ..timeresp import step_response
6060

61-
6261
T, yout, xout = step_response(sys, T, X0, input, output,
63-
transpose = True, return_x=return_x)
62+
transpose = True, return_x=True)
6463

6564
if return_x:
6665
return yout, xout, T

0 commit comments

Comments
 (0)