diff --git a/compatible_clf_cbf/clf_cbf.py b/compatible_clf_cbf/clf_cbf.py index f6c0e02..7ccb7a5 100644 --- a/compatible_clf_cbf/clf_cbf.py +++ b/compatible_clf_cbf/clf_cbf.py @@ -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) diff --git a/examples/nonlinear_toy/synthesize_demo.py b/examples/nonlinear_toy/synthesize_demo.py index b0843d3..af06a5c 100644 --- a/examples/nonlinear_toy/synthesize_demo.py +++ b/examples/nonlinear_toy/synthesize_demo.py @@ -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,