Commit 4881ab43 authored by Sergei Golubchik's avatar Sergei Golubchik

fixup! streaming

parent 0ddb67a1
...@@ -1334,7 +1334,7 @@ int mhnsw_read_next(TABLE *table) ...@@ -1334,7 +1334,7 @@ int mhnsw_read_next(TABLE *table)
float new_threshold= result->found.links[result->found.num-1]->distance_to(result->target); float new_threshold= result->found.links[result->found.num-1]->distance_to(result->target);
if (int err= search_layer(ctx, graph, result->target, result->threshold, if (int err= search_layer(ctx, graph, result->target, result->threshold,
result->pos, 0, &result->found, false)) static_cast<uint>(result->pos), 0, &result->found, false))
return err; return err;
result->pos= 0; result->pos= 0;
result->threshold= new_threshold; result->threshold= new_threshold;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment