diff options
author | Arne Juul <arnej@yahooinc.com> | 2023-04-26 07:29:30 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahooinc.com> | 2023-04-26 14:36:08 +0000 |
commit | 7c6ca1371698cd347a2868f6fa935013ecd02ead (patch) | |
tree | a6fd0d067f56e748124dea6ba75313a7b74d36b5 /searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp | |
parent | f0ed62d462143f06df778c824a43821ec41da5af (diff) |
no need to convert cells in DistanceCalculator anymore
Diffstat (limited to 'searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp')
-rw-r--r-- | searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp b/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp index 0a6a912156a..ed1e15e17e7 100644 --- a/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp +++ b/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp @@ -373,9 +373,9 @@ TEST(AttributeBlueprintTest, nearest_neighbor_blueprint_is_created_by_attribute_ // same cell type: expect_nearest_neighbor_blueprint("tensor(x[2])", x_2_double, x_2_double); expect_nearest_neighbor_blueprint("tensor<float>(x[2])", x_2_float, x_2_float); - // convert cell type: - expect_nearest_neighbor_blueprint("tensor(x[2])", x_2_float, x_2_double); - expect_nearest_neighbor_blueprint("tensor<float>(x[2])", x_2_double, x_2_float); + // converts cell type internally: + expect_nearest_neighbor_blueprint("tensor(x[2])", x_2_float, x_2_float); + expect_nearest_neighbor_blueprint("tensor<float>(x[2])", x_2_double, x_2_double); } void |