File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments