From c72bcd1ce93be7fdf2de217176a88d6c370c850f Mon Sep 17 00:00:00 2001 From: Jalin Wang Date: Thu, 25 Jun 2026 19:25:10 +0800 Subject: [PATCH] minor: typos in ivf searcher test(#526) Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- tests/core/algorithm/ivf/ivf_searcher_test.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/core/algorithm/ivf/ivf_searcher_test.cc b/tests/core/algorithm/ivf/ivf_searcher_test.cc index 3d3dbc1..80ca02f 100644 --- a/tests/core/algorithm/ivf/ivf_searcher_test.cc +++ b/tests/core/algorithm/ivf/ivf_searcher_test.cc @@ -256,7 +256,7 @@ TEST_F(IVFSearcherTest, TestSimple) { auto context = searcher.create_context(); IndexQueryMeta qmeta(IndexMeta::DataType::DT_FP32, dimension_); - // single bf serch + // single bf search { size_t topk = 33; context->set_topk(topk); @@ -271,7 +271,7 @@ TEST_F(IVFSearcherTest, TestSimple) { } } - // batch bf serch + // batch bf search { size_t topk = 1; context->set_topk(topk); @@ -301,7 +301,7 @@ TEST_F(IVFSearcherTest, TestSimple) { } } - // batch knn serch + // batch knn search { size_t topk = 1; context->set_topk(topk); @@ -469,7 +469,7 @@ TEST_F(IVFSearcherTest, TestColumnMajorFloatWithBuildMemory) { auto context = searcher.create_context(); IndexQueryMeta qmeta(IndexMeta::DataType::DT_FP32, dimension_); - // single bf serch + // single bf search { size_t topk = (size_t)total; context->set_topk(topk); @@ -484,7 +484,7 @@ TEST_F(IVFSearcherTest, TestColumnMajorFloatWithBuildMemory) { } } - // batch bf serch + // batch bf search { size_t topk = 1; context->set_topk(topk);