Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbybp committed Sep 29, 2023
1 parent c39006d commit 565c4cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyomo/contrib/pynumero/interfaces/cyipopt_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ def __init__(self, nlp, intermediate_callback=None, halt_on_evaluation_error=Non
self._nlp = nlp
self._intermediate_callback = intermediate_callback

cyipopt_has_eval_error = (
cyipopt_available and hasattr(cyipopt, "CyIpoptEvaluationError")
cyipopt_has_eval_error = cyipopt_available and hasattr(
cyipopt, "CyIpoptEvaluationError"
)
if halt_on_evaluation_error is None:
# If using cyipopt >= 1.3, the default is to continue.
Expand Down

0 comments on commit 565c4cd

Please sign in to comment.