summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/attributevector.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/attributevector.cpp b/searchlib/src/vespa/searchlib/attribute/attributevector.cpp
index 2bcdbc8ecbf..2168bbe4276 100644
--- a/searchlib/src/vespa/searchlib/attribute/attributevector.cpp
+++ b/searchlib/src/vespa/searchlib/attribute/attributevector.cpp
@@ -310,9 +310,7 @@ AttributeVector::createAttributeHeader(vespalib::stringref fileName) const {
return attribute::AttributeHeader(fileName,
getConfig().basicType(),
getConfig().collectionType(),
- (getConfig().basicType().type() == BasicType::Type::TENSOR
- ? getConfig().tensorType()
- : vespalib::eval::ValueType::error_type()),
+ getConfig().tensorType(),
getEnumeratedSave(),
getConfig().predicateParams(),
getConfig().hnsw_index_params(),