Skip to content

Commit

Permalink
Fix a flake8 error. (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongkai-dai authored Aug 6, 2024
1 parent 0899a2c commit 6727a5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion compatible_clf_cbf/clf_cbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,8 @@ def bilinear_alternation(
Use None to preserve all coefficients.
"""

# One and only one of inner_ellipsoid_options and compatible_states_options is None.
# One and only one of inner_ellipsoid_options and compatible_states_options is
# None.
assert (
inner_ellipsoid_options is not None and compatible_states_options is None
) or (inner_ellipsoid_options is None and compatible_states_options is not None)
Expand Down
1 change: 0 additions & 1 deletion examples/nonlinear_toy/synthesize_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def main(with_u_bound: bool):
solver_options = solvers.SolverOptions()
solver_options.SetOption(solvers.CommonSolverOption.kPrintToConsole, 0)
solver_options.SetOption(solvers.ClarabelSolver.id(), "max_iter", 10000)
inner_ellipsoid_options = None

V, b = compatible.bilinear_alternation(
V_init,
Expand Down

0 comments on commit 6727a5c

Please sign in to comment.