mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 03:17:59 -05:00
code clean up for lgtm
This commit is contained in:
@@ -66,7 +66,6 @@ def solve_DARE(A, B, Q, R):
|
||||
Xn = A.T * X * A - A.T * X * B * \
|
||||
la.inv(R + B.T * X * B) * B.T * X * A + Q
|
||||
if (abs(Xn - X)).max() < eps:
|
||||
X = Xn
|
||||
break
|
||||
X = Xn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user