Skip to content

Commit 278ad95

Browse files
committed
Fix Lyapunov solver indentation
1 parent 69efdfe commit 278ad95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎control/mateqn.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ def lyap(A, Q, C=None, E=None, method=None, symmetric_kwargs=None):
175175
_check_shape(Q, n, n, square=True, symmetric=True, name="Q", symmetric_kwargs=symmetric_kwargs)
176176

177177
if method == 'scipy':
178-
# Solve the Lyapunov equation using SciPy
179-
return sp.linalg.solve_continuous_lyapunov(A, -Q)
178+
# Solve the Lyapunov equation using SciPy
179+
return sp.linalg.solve_continuous_lyapunov(A, -Q)
180180

181181
# Solve the Lyapunov equation by calling Slycot function sb03md
182182
with warnings.catch_warnings():

0 commit comments

Comments
 (0)