Skip to content

Commit 08d5e6c

Browse files
committed
replace another deprecated scipy function with numpy
1 parent f3e5035 commit 08d5e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

control/timeresp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ def forced_response(sys, T=None, U=0., X0=0., transpose=False,
408408
xout = xout[::inc, :]
409409

410410
# Transpose the output and state vectors to match local convention
411-
xout = sp.transpose(xout)
412-
yout = sp.transpose(yout)
411+
xout = np.transpose(xout)
412+
yout = np.transpose(yout)
413413

414414
# Get rid of unneeded dimensions
415415
if squeeze:

0 commit comments

Comments
 (0)