diff options
Diffstat (limited to 'searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp')
-rw-r--r-- | searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp b/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp index a5e0e1e2b6a..8790df5a140 100644 --- a/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp +++ b/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp @@ -8,7 +8,7 @@ #include <future> #include <vector> -#include <vespa/eval/tensor/dense/typed_cells.h> +#include <vespa/eval/eval/typed_cells.h> #include <vespa/searchlib/common/bitvector.h> #include <vespa/searchlib/tensor/distance_functions.h> #include <vespa/searchlib/tensor/doc_vector_access.h> @@ -109,10 +109,10 @@ public: memcpy(&_vectors[docid], vec.cbegin(), sizeof(MallocPointVector)); return *this; } - vespalib::tensor::TypedCells get_vector(uint32_t docid) const override { + vespalib::eval::TypedCells get_vector(uint32_t docid) const override { assert(docid < NUM_POSSIBLE_DOCS); ConstVectorRef ref(_vectors[docid]); - return vespalib::tensor::TypedCells(ref); + return vespalib::eval::TypedCells(ref); } }; @@ -175,7 +175,7 @@ public: return result_promise.get_future(); } void run() override { - auto v = vespalib::tensor::TypedCells(vec); + auto v = vespalib::eval::TypedCells(vec); auto up = parent.index->prepare_add_document(docid, v, read_guard); result_promise.set_value(std::move(up)); } |