Skip to content

Commit

Permalink
Merge pull request #246 from lynntf/master
Browse files Browse the repository at this point in the history
Error message spelling indicates incorrect callback name
  • Loading branch information
moorepants authored Mar 22, 2024
2 parents 0b12acc + c71b782 commit e0ccaf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyipopt/cython/ipopt_wrapper.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ cdef class Problem:
# Verify that the constraints and jacobian callbacks are defined
#
if m > 0 and (self.__constraints is None or self.__jacobian is None):
msg = ("Both the \"constrains\" and \"jacobian\" callbacks must "
msg = ("Both the \"constraints\" and \"jacobian\" callbacks must "
"be defined.")
raise ValueError(msg)

Expand Down

0 comments on commit e0ccaf7

Please sign in to comment.