Skip to content

Commit bc65000

Browse files
committed
do not override squeeze parameter in forced_response
1 parent d3142ff commit bc65000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/timeresp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def forced_response(sys, T=None, U=0., X0=0., transpose=False,
325325
# Separate out the discrete and continuous time cases
326326
if isctime(sys):
327327
# Solve the differential equation, copied from scipy.signal.ltisys.
328-
dot, squeeze, = np.dot, np.squeeze # Faster and shorter code
328+
dot = np.dot # Faster and shorter code
329329

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy