Skip to content

Commit 19e1286

Browse files
authored
Fixed a typo in bindings.cpp
1 parent a97ec89 commit 19e1286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_bindings/bindings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)