Skip to content

Commit

Permalink
bug fix when using show_options
Browse files Browse the repository at this point in the history
  • Loading branch information
Ipuch authored and pariterre committed Nov 11, 2021
1 parent 0866607 commit fde5713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioptim/interfaces/SolverOptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def as_dict(self, solver):
solver_options = self.__dict__
options = {}
for key in solver_options:
if key != "_c_compile" and key != "type" and key != "show_online_optim":
if key != "_c_compile" and key != "type" and key != "show_online_optim" and key != "show_options":
ipopt_key = "ipopt." + key[1:]
options[ipopt_key] = solver_options[key]
return {**options, **solver.options_common}
Expand Down

0 comments on commit fde5713

Please sign in to comment.