summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-12-03 11:22:44 +0000
committerArne Juul <arnej@verizonmedia.com>2020-12-03 11:23:26 +0000
commit2b59e7df82e6d47eefd06cc6a0b2cc8f7031250a (patch)
treea5fd48ec8252cd4be91268d60fc978c84700127d /searchlib
parent76e7067ce6c9c7f7186a88ea9a9713681168af46 (diff)
track API changes
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.cpp3
-rw-r--r--searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.cpp b/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.cpp
index 8f7d82adadd..30b01e60123 100644
--- a/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.cpp
+++ b/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.cpp
@@ -4,7 +4,6 @@
#include <vespa/searchlib/tensor/i_tensor_attribute.h>
using search::tensor::ITensorAttribute;
-using vespalib::tensor::MutableDenseTensorView;
namespace search::features {
@@ -18,7 +17,7 @@ DenseTensorAttributeExecutor(const ITensorAttribute& attribute)
void
DenseTensorAttributeExecutor::execute(uint32_t docId)
{
- _attribute.extract_dense_view(docId, _tensorView);
+ _tensorView.setCells(_attribute.extract_dense_view(docId));
outputs().set_object(0, _tensorView);
}
diff --git a/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.h b/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.h
index a8a84447c88..d6e92a89619 100644
--- a/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.h
+++ b/searchlib/src/vespa/searchlib/features/dense_tensor_attribute_executor.h
@@ -17,7 +17,7 @@ class DenseTensorAttributeExecutor : public fef::FeatureExecutor
{
private:
const search::tensor::ITensorAttribute& _attribute;
- vespalib::tensor::MutableDenseTensorView _tensorView;
+ vespalib::eval::MutableDenseTensorView _tensorView;
public:
DenseTensorAttributeExecutor(const search::tensor::ITensorAttribute& attribute);