Skip to content

Levenstein: ensure the return type is int#92

Merged
orsinium merged 1 commit into
life4:masterfrom
KKGBiz:master
Apr 24, 2024
Merged

Levenstein: ensure the return type is int#92
orsinium merged 1 commit into
life4:masterfrom
KKGBiz:master

Conversation

@KKGBiz

@KKGBiz KKGBiz commented Apr 24, 2024

Copy link
Copy Markdown
Contributor
  • notmalize integer output, since cur may contain both int and np.int32 dtypes.
  • If int32 is returned FastAPI can't serialize this type.

2024-04-24_102127_Levenstein Distance bug 2

…32 dtypes. If int32 is returned FastAPI can't serialize this type.
@orsinium

Copy link
Copy Markdown
Member

Thank you!

@orsinium orsinium merged commit 482f349 into life4:master Apr 24, 2024
@orsinium orsinium changed the title Levenstein distance output type normalization Levenstein: ensure return type is int Apr 24, 2024
@orsinium orsinium changed the title Levenstein: ensure return type is int Levenstein: ensure the return type is int Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants