We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6565b commit 1fd18b4Copy full SHA for 1fd18b4
control/stochsys.py
@@ -469,7 +469,8 @@ def create_estimator_iosystem(
469
# Set the output matrices
470
if C is not None:
471
# Make sure we have full system output (allowing for numerical errors)
472
- if not np.allclose(sys.C, np.eye(sys.nstates)):
+ if sys.C.shape[0] != sys.nstates or \
473
+ not np.allclose(sys.C, np.eye(sys.nstates)):
474
raise ValueError("System output must be full state")
475
476
# Make sure that the output matches the size of RN
0 commit comments