Skip to content

Commit 8781a8a

Browse files
author
Kevin Chen
committed
Removed the system copying in hsvd.
Kevin K. Chen <kkchen@princeton.edu>
1 parent 78ce52f commit 8781a8a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/modelsimp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ def hsvd(sys):
7272
>>> H = hsvd(sys)
7373
7474
"""
75-
sys2 = StateSpace(sys.A,sys.B,sys.C,sys.D)
7675
Wc = gram(sys,'c')
77-
Wo = gram(sys2,'o')
76+
Wo = gram(sys,'o')
7877
WoWc = np.dot(Wo, Wc)
7978
w, v = np.linalg.eig(WoWc)
8079

0 commit comments

Comments
 (0)