Skip to content

Commit 6a2d96f

Browse files
committed
Removed rank check with a det in a statefbk test
1 parent d5cb4f1 commit 6a2d96f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)