8000 tweak to allow testing with matrix types · python-control/python-control@d31c9f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit d31c9f4

Browse files
committed
tweak to allow testing with matrix types
1 parent 700ff80 commit d31c9f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

control/tests/stochsys_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def test_estimator_iosys_ctime(sys_args):
199199
# Compute the system response and the optimal covariance
200200
sys_resp = ct.input_output_response(nl_sys, timepts, U, X0)
201201
_, Pf, _ = ct.lqe(sys, QN, RN)
202+
Pf = np.array(Pf) # convert from matrix, if needed
202203

203204
# Make sure that we converge to the optimal estimate
204205
estim_resp = ct.input_output_response(

0 commit comments

Comments
 (0)
0