File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ class Index {
645
645
(void *)items.data (row), k, p_idFilter);
646
646
if (result.size () != k)
647
647
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" );
649
649
for (int i = k - 1 ; i >= 0 ; i--) {
650
650
auto & result_tuple = result.top ();
651
651
data_numpy_d[row * k + i] = result_tuple.first ;
@@ -665,7 +665,7 @@ class Index {
665
665
(void *)(norm_array.data () + start_idx), k, p_idFilter);
666
666
if (result.size () != k)
667
667
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" );
669
669
for (int i = k - 1 ; i >= 0 ; i--) {
670
670
auto & result_tuple = result.top ();
671
671
data_numpy_d[row * k + i] = result_tuple.first ;
You can’t perform that action at this time.
0 commit comments