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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy