Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Levenstein: ensure the return type is int #92

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

KKGBiz
Copy link
Contributor

@KKGBiz KKGBiz commented Apr 24, 2024

  • 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
Member

Thank you!

@orsinium orsinium merged commit 482f349 into life4:master Apr 24, 2024
10 checks passed
@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
2 participants