Skip to content

Commit

Permalink
Update environment.pxi
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz authored Dec 3, 2024
1 parent 8813001 commit cd27967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplpy/environment.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cdef class Environment(object):
def to_string(self):
cdef const char* to_string_c
campl.AMPL_EnvironmentToString(self._c_env, &to_string_c)
to_string = str(to_string_c.decode('utf-8'))
to_string = str(to_string_c.decode('utf-16'))
return to_string

def set_bin_dir(self, binary_directory):
Expand Down

0 comments on commit cd27967

Please sign in to comment.