aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2021-03-03 14:38:29 +0000
committerHåvard Pettersen <havardpe@oath.com>2021-03-04 18:34:31 +0000
commitd48fc6fd919be1a21ca19165b6ddfa6171791725 (patch)
treea915ae22221dc955b98914496f43a80eb4ff62cf /searchcore/src/tests/proton/matching
parent311e77aad06f187c70864a80a0703082f72bb3d8 (diff)
all scalars must be double
and all operation results must be at least float
Diffstat (limited to 'searchcore/src/tests/proton/matching')
-rw-r--r--searchcore/src/tests/proton/matching/request_context/request_context_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp b/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp
index 7b545344e9b..d8aa7e0ffa8 100644
--- a/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp
+++ b/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp
@@ -67,7 +67,7 @@ TEST_F(RequestContextTest, query_tensor_can_be_retrieved)
{
auto tensor = get_query_tensor("my_tensor");
ASSERT_TRUE(tensor);
- EXPECT_TRUE(tensor->is_tensor());
+ EXPECT_TRUE(tensor->type().has_dimensions());
EXPECT_EQ(expected_query_tensor(), spec_from_value(*tensor));
}