Skip to content

Commit 23d90d6

Browse files
committed
curse you python 2. removed '@' sign
1 parent 3d25b8b commit 23d90d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

control/timeresp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@
6565
capability and better automatic time vector creation
6666
Date: June 2020
6767
68+
Modified by Ilhan Polat to improve automatic time vector creation
69+
Date: August 17, 2020
70+
6871
$Id$
6972
"""
7073

@@ -940,7 +943,7 @@ def _ideal_tfinal_and_dt(sys, is_step=True):
940943
# Incorporate balancing to outer factors
941944
l[perm, :] *= np.reciprocal(sca)[:, None]
942945
r[perm, :] *= sca[:, None]
943-
w, v = sys_ss.C @ r, l.T.conj() @ sys_ss.B
946+
w, v = sys_ss.C.dot(r), l.T.conj().dot(sys_ss.B)
944947

945948
origin = False
946949
# Computing the "size" of the response of each simple mode

0 commit comments

Comments
 (0)