summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-01-22 13:38:13 +0000
committerTor Egge <Tor.Egge@oath.com>2018-01-22 13:38:13 +0000
commit6d6024ee841e7f07b392aae1476eabf10931d1d9 (patch)
tree6e5bc4f16458ef881aed89a77b3e22ca5dd9499b /searchlib
parentdff143e223c5510b51dad84efc3494e183a5f1af (diff)
Fix typo in tensor spec.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp b/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp
index 3fa939d637f..2b4f8afab43 100644
--- a/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp
+++ b/searchlib/src/tests/attribute/imported_attribute_vector/imported_attribute_vector_test.cpp
@@ -581,7 +581,7 @@ struct TensorAttrFixtureBase : FixtureBase<useReadGuard> {
{ {DocId(2), dummy_gid(3), DocId(3), tensor1 },
{DocId(4), dummy_gid(7), DocId(7), tensor2 } };
this->template reset_with_tensor_reference_mappings<TensorAttribute, std::shared_ptr<Tensor>>(
- ValueType::from_spec(dense ? "tensor(x[2])" : "tensor(x[})"),
+ ValueType::from_spec(dense ? "tensor(x[2])" : "tensor(x{})"),
mappings);
}
Tensor::UP getTensor(DocId docId) {