Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1fd18b4

Browse files
committed
fix unit test issue (change in error message)
1 parent8c6565b commit1fd18b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎control/stochsys.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,8 @@ def create_estimator_iosystem(
469469
# Set the output matrices
470470
ifCisnotNone:
471471
# Make sure we have full system output (allowing for numerical errors)
472-
ifnotnp.allclose(sys.C,np.eye(sys.nstates)):
472+
ifsys.C.shape[0]!=sys.nstatesor \
473+
notnp.allclose(sys.C,np.eye(sys.nstates)):
473474
raiseValueError("System output must be full state")
474475

475476
# Make sure that the output matches the size of RN

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp