You need to sign in or sign up before continuing.
提交 cd051c30 编写于 作者: P peng.xu

Merge branch 'branch-0.3.1' into 'branch-0.3.1'

Branch 0.3.1

See merge request megasearch/milvus!238

Former-commit-id: 2992e8466fa5ed01910f0ba4d1e1596a34893ee8
......@@ -687,7 +687,7 @@ ServerError SearchVectorTask2::ConstructResult(engine::QueryResults& results) {
engine::IDNumber* ids_ptr = (engine::IDNumber*)str_ids.data();
double* distance_ptr = (double*)str_distances.data();
for(size_t k = 0; k < results.size(); k++) {
for(size_t k = 0; k < result.size(); k++) {
auto& pair = result[k];
ids_ptr[k] = pair.first;
distance_ptr[k] = pair.second;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册