Skip to content

Commit

Permalink
Update outputhandler.pxi
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz authored Nov 8, 2024
1 parent 539c5e7 commit 88b5597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplpy/outputhandler.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cdef class OutputHandler(object):

cdef void PyOutput(campl.AMPL_OUTPUTKIND kind, const char* msg, void* usrdata) except * with gil:
PyOutputHandler = <OutputHandler>usrdata
PyOutputHandler.output(kind, str(msg.decode('utf-8')))
PyOutputHandler.output(kind, msg.decode('utf-8'))

class Kind(object):
"""
Expand Down

0 comments on commit 88b5597

Please sign in to comment.