Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahe1994 authored and justheuristic committed Jan 12, 2024
1 parent a8d1766 commit b260d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def fit_faiss_kmeans(
try:
import faiss
except ModuleNotFoundError:
assert "Faiss is not installed. Please install it before running this function."
raise RuntimeError("Faiss is not installed. Please install it before running this function.")

d = data.shape[1]
if max_points_per_centroid is not None:
Expand Down

0 comments on commit b260d7a

Please sign in to comment.