Skip to content

Commit

Permalink
spaces in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbybp committed Jul 10, 2024
1 parent 8892c85 commit 2b8f4e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyomo/contrib/pynumero/interfaces/cyipopt_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ def __init__(self, nlp, intermediate_callback=None, halt_on_evaluation_error=Non
self._use_13arg_callback = False
else:
raise ValueError(
"Invalid intermediate callback. A function with either 12"
"or 13 positional arguments, or a variable number of arguments,"
"is expected."
"Invalid intermediate callback. A function with either 12 or 13"
" positional arguments, or a variable number of arguments, is"
" expected."
)

def _set_primals_if_necessary(self, x):
Expand Down

0 comments on commit 2b8f4e0

Please sign in to comment.