10000 Removed rank check with a det in a statefbk test · python-control/python-control@1fe639c · GitHub
[go: up one dir, main page]

Skip to content

Commit 1fe639c

Browse files
committed
Removed rank check with a det in a statefbk test
1 parent c5157aa commit 1fe639c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

control/tests/statefbk_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ def testAcker(self):
111111

112112
# Make sure the system is not degenerate
113113
Cmat = ctrb(sys.A, sys.B)
114-
if (np.linalg.matrix_rank(Cmat) != states or
115-
abs(np.linalg.det(Cmat)) < 1e-5):
114+
if np.linalg.matrix_rank(Cmat) != states:
116115
if (self.debug):
117116
print(" skipping (not reachable or ill conditioned)")
118117
continue

0 commit comments

Comments
 (0)
0