summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-11-15 21:10:07 +0100
committerGitHub <noreply@github.com>2022-11-15 21:10:07 +0100
commit1581058d13a1e23769470302879b5f3b50483099 (patch)
tree1a1e33b128ea8bc99a69ff0108354ca8ebf1d187 /searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp
parent9a35cc0b67c8d9e5abe0b5b66ed7fc0a67498c07 (diff)
parent7310a44974c2b2e2e261247fef6970a3e149dd95 (diff)
Merge pull request #24877 from vespa-engine/toregge/move-inner-class-hnswindex-config-to-hnswindexconfigv8.85.9
Move inner class HnswIndex::Config to HnswIndexConfig.
Diffstat (limited to 'searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp')
-rw-r--r--searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp b/searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp
index 26aa56aa27b..515715eb6b1 100644
--- a/searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp
+++ b/searchlib/src/tests/tensor/hnsw_index/hnsw_index_test.cpp
@@ -103,7 +103,7 @@ public:
level_generator = generator.get();
index = std::make_unique<HnswIndex>(vectors, std::make_unique<SquaredEuclideanDistance>(vespalib::eval::CellType::FLOAT),
std::move(generator),
- HnswIndex::Config(5, 2, 10, 0, heuristic_select_neighbors));
+ HnswIndexConfig(5, 2, 10, 0, heuristic_select_neighbors));
}
void add_document(uint32_t docid, uint32_t max_level = 0) {
level_generator->level = max_level;