Skip to content

Commit f27913b

Browse files
committed
python_bindings/bindings.cpp: fix typo.
Signed-off-by: Étienne Mollier <[email protected]>
1 parent fd027d4 commit f27913b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: python_bindings/bindings.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ class Index {
645645
(void*)items.data(row), k, p_idFilter);
646646
if (result.size() != k)
647647
throw std::runtime_error(
648-
"Cannot return the results in a contigious 2D array. Probably ef or M is too small");
648+
"Cannot return the results in a contiguous 2D array. Probably ef or M is too small");
649649
for (int i = k - 1; i >= 0; i--) {
650650
auto& result_tuple = result.top();
651651
data_numpy_d[row * k + i] = result_tuple.first;
@@ -665,7 +665,7 @@ class Index {
665665
(void*)(norm_array.data() + start_idx), k, p_idFilter);
666666
if (result.size() != k)
667667
throw std::runtime_error(
668-
"Cannot return the results in a contigious 2D array. Probably ef or M is too small");
668+
"Cannot return the results in a contiguous 2D array. Probably ef or M is too small");
669669
for (int i = k - 1; i >= 0; i--) {
670670
auto& result_tuple = result.top();
671671
data_numpy_d[row * k + i] = result_tuple.first;

0 commit comments

Comments
 (0)