summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-10-01 11:35:17 +0000
committerArne Juul <arnej@verizonmedia.com>2020-10-01 13:56:59 +0200
commit42bcbc1428f60b3ebd5778199ce8c085049b788d (patch)
tree0d6e5438e3de5176afecd538766c9cced12e1cd3 /searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
parent4685775b573783d3bc350edcb93ef59c997ca1f8 (diff)
track TypedCells move
Diffstat (limited to 'searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp')
-rw-r--r--searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
index 1a342a92b3d..b4bf571c756 100644
--- a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
+++ b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
@@ -181,7 +181,7 @@ public:
_adds.emplace_back(docid, DoubleVector(vector.begin(), vector.end()));
}
std::unique_ptr<PrepareResult> prepare_add_document(uint32_t docid,
- vespalib::tensor::TypedCells vector,
+ vespalib::eval::TypedCells vector,
vespalib::GenerationHandler::Guard guard) const override {
(void) guard;
auto d_vector = vector.typify<double>();
@@ -222,13 +222,13 @@ public:
_index_value = (reinterpret_cast<const int*>(buf.buffer()))[0];
return true;
}
- std::vector<Neighbor> find_top_k(uint32_t k, vespalib::tensor::TypedCells vector, uint32_t explore_k) const override {
+ std::vector<Neighbor> find_top_k(uint32_t k, vespalib::eval::TypedCells vector, uint32_t explore_k) const override {
(void) k;
(void) vector;
(void) explore_k;
return std::vector<Neighbor>();
}
- std::vector<Neighbor> find_top_k_with_filter(uint32_t k, vespalib::tensor::TypedCells vector,
+ std::vector<Neighbor> find_top_k_with_filter(uint32_t k, vespalib::eval::TypedCells vector,
const search::BitVector& filter, uint32_t explore_k) const override
{
(void) k;