Skip to content

Commit

Permalink
Actual bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbern committed Apr 16, 2023
1 parent f048559 commit 0a34999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ann_benchmarks/algorithms/redisearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def fit(self, X):
"TYPE",
"FLOAT32",
"DIM",
X.shape[0],
X.shape[1],
"DISTANCE_METRIC",
{"angular": "cosine", "euclidean": "l2"}[self.metric],
"M",
Expand Down

0 comments on commit 0a34999

Please sign in to comment.