Skip to content

Commit d7c606a

Browse files
author
Lauren Padilla
committed
Revised list of return values for sb02md to be compatible with Slycot commit c98ba6f30899ff2078e0.
1 parent 240ab37 commit d7c606a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/statefbk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def lqr(*args, **keywords):
176176
sb02mt(nstates, ninputs, B, R, A, Q, N, jobl='N');
177177

178178
# Call the SLICOT function
179-
X,rcond,w,S,U = sb02md(nstates, A_b, G, Q_b, 'C')
179+
X,rcond,w,S,U,A_inv = sb02md(nstates, A_b, G, Q_b, 'C')
180180

181181
# Now compute the return value
182182
K = np.dot(np.linalg.inv(R), (np.dot(B.T, X) + N.T));

0 commit comments

Comments
 (0)