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 @@ -294,7 +294,7 @@ class Index {
294294 (void *) items.data (row), k);
295295 if (result.size () != k)
296296 throw std::runtime_error (
297- " Cannot return the results in a contigious 2D array. Probably ef or M is to small" );
297+ " Cannot return the results in a contigious 2D array. Probably ef or M is too small" );
298298 for (int i = k - 1 ; i >= 0 ; i--) {
299299 auto &result_tuple = result.top ();
300300 data_numpy_d[row * k + i] = result_tuple.first ;
@@ -316,7 +316,7 @@ class Index {
316316 (void *) (norm_array.data ()+start_idx), k);
317317 if (result.size () != k)
318318 throw std::runtime_error (
319- " Cannot return the results in a contigious 2D array. Probably ef or M is to small" );
319+ " Cannot return the results in a contigious 2D array. Probably ef or M is too small" );
320320 for (int i = k - 1 ; i >= 0 ; i--) {
321321 auto &result_tuple = result.top ();
322322 data_numpy_d[row * k + i] = result_tuple.first ;
You can’t perform that action at this time.
0 commit comments