Skip to content

Commit

Permalink
fix small performance bug
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Dec 28, 2023
1 parent b4c110f commit d276bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rapidfuzz/distance/metrics_cpp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ cdef inline bool is_none(s):

return False

cdef size_t get_score_cutoff_size_t(score_cutoff, default) except? -1:
cdef size_t get_score_cutoff_size_t(score_cutoff, size_t default) except? -1:
cdef size_t c_score_cutoff = default
if score_cutoff is None:
return c_score_cutoff
Expand Down

0 comments on commit d276bb8

Please sign in to comment.