Skip to content

Commit

Permalink
Fix: Typo in metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarev committed Jul 26, 2023
1 parent 459abcd commit 34f5530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/usearch/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _normalize_metric(metric):
"ip": MetricKind.IP,
"l2_sq": MetricKind.L2sq,
"haversine": MetricKind.Haversine,
"perason": MetricKind.Pearson,
"pearson": MetricKind.Pearson,
"hamming": MetricKind.Hamming,
"tanimoto": MetricKind.Tanimoto,
"sorensen": MetricKind.Sorensen,
Expand Down

0 comments on commit 34f5530

Please sign in to comment.