Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion control/timeresp.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def forced_response(sys, T=None, U=0., X0=0., transpose=False,
# Separate out the discrete and continuous time cases
if isctime(sys):
# Solve the differential equation, copied from scipy.signal.ltisys.
dot, squeeze, = np.dot, np.squeeze # Faster and shorter code
dot = np.dot # Faster and shorter code

# Faster algorithm if U is zero
if U is None or (isinstance(U, (int, float)) and U == 0):
Expand Down