aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp b/vespalib/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp
index e9126433a01..4832cd1fafd 100644
--- a/vespalib/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp
+++ b/vespalib/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp
@@ -19,7 +19,7 @@ using namespace vespalib::tensor;
ValueType
makeType(size_t numCells)
{
- return ValueType::from_spec(make_string("tensor(x[%zu]", numCells));
+ return ValueType::tensor_type({{"x", numCells}});
}
std::unique_ptr<tensor_function::Inject>