Skip to content

Commit ad0c769

Browse files
committed
fixing type hints
1 parent 0978fb8 commit ad0c769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepdiff/distance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def numpy_apply_log_keep_sign(array, offset=MATH_LOG_OFFSET):
268268
return signed_log_values
269269

270270

271-
def logarithmic_similarity(a: NumberType, b: NumberType, threshold: float=0.1) -> float:
271+
def logarithmic_similarity(a: NumberType, b: NumberType, threshold: float=0.1) -> bool:
272272
"""
273273
A threshold of 0.1 translates to about 10.5% difference.
274274
A threshold of 0.5 translates to about 65% difference.

0 commit comments

Comments
 (0)