Skip to content

Commit

Permalink
Explicitly convert to str before calling _cy.str_to_int
Browse files Browse the repository at this point in the history
  • Loading branch information
jongbinjung committed Oct 5, 2024
1 parent e40971e commit 4520843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/h3/api/basic_int/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def str_to_int(h):
int
Unsigned 64-bit integer
"""
return _cy.str_to_int(h)
return _cy.str_to_int(str(h))


def int_to_str(x):
Expand Down

0 comments on commit 4520843

Please sign in to comment.