Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Ipuch committed Oct 31, 2023
1 parent 2214da0 commit af08026
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions bioptim/interfaces/solver_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,15 @@ def set_maximum_iterations(self, num: int):
def as_dict(self, solver):
options = {}
keys_to_skip = {
"_acados_dir", "_cost_type", "_constr_type", "_has_tolerance_changed",
"_only_first_options_has_changed", "type", "_c_compile",
"_c_generated_code_path", "_acados_model_name"
"_acados_dir",
"_cost_type",
"_constr_type",
"_has_tolerance_changed",
"_only_first_options_has_changed",
"type",
"_c_compile",
"_c_generated_code_path",
"_acados_model_name",
}

# Select the set of relevant keys before entering the loop
Expand Down

0 comments on commit af08026

Please sign in to comment.