Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
Signed-off-by: jinjiabao.jjb <[email protected]>
  • Loading branch information
jinjiabao.jjb committed Jan 17, 2025
1 parent bf595c6 commit 25b6deb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ TestIndex::TestSerializeReaderSet(const IndexPtr& index_from,
auto query = vsag::Dataset::Make();
query->NumElements(1)
->Dim(dim)
->Paths(queries->GetPaths() + i)
->Float32Vectors(queries->GetFloat32Vectors() + i * dim)
->Owner(false);
auto res_from = index_from->KnnSearch(query, topk, search_param);
Expand Down

0 comments on commit 25b6deb

Please sign in to comment.