未验证 提交 4b996cd6 编写于 作者: O op-hunter 提交者: GitHub

fix commpile error because of interface changed (#1773)

* fix commpile error because of interface changed
Signed-off-by: Nlichengming <chengming.li@zilliz.com>

* fix comiple error
Signed-off-by: Nlichengming <chengming.li@zilliz.com>
Co-authored-by: Nlichengming <chengming.li@zilliz.com>
上级 e4264d84
......@@ -121,8 +121,7 @@ IndexAnnoy::Query(const DatasetPtr& dataset_ptr, const Config& config) {
auto all_num = rows * k;
auto p_id = (int64_t*)malloc(all_num * sizeof(int64_t));
auto p_dist = (float*)malloc(all_num * sizeof(float));
faiss::ConcurrentBitsetPtr blacklist = nullptr;
GetBlacklist(blacklist);
faiss::ConcurrentBitsetPtr blacklist = GetBlacklist();
#pragma omp parallel for
for (unsigned int i = 0; i < rows; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册