From 2a861cd48542d39c3fe93215a186604f9b686166 Mon Sep 17 00:00:00 2001 From: Arne Juul Date: Fri, 20 Nov 2020 09:33:09 +0000 Subject: track CellType move --- .../tensor/distance_functions/distance_functions_test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'searchlib/src/tests/tensor/distance_functions') diff --git a/searchlib/src/tests/tensor/distance_functions/distance_functions_test.cpp b/searchlib/src/tests/tensor/distance_functions/distance_functions_test.cpp index a9e24e056f2..06fb95089fd 100644 --- a/searchlib/src/tests/tensor/distance_functions/distance_functions_test.cpp +++ b/searchlib/src/tests/tensor/distance_functions/distance_functions_test.cpp @@ -33,7 +33,7 @@ void verify_geo_miles(const DistanceFunction *dist_fun, TEST(DistanceFunctionsTest, euclidean_gives_expected_score) { - auto ct = vespalib::eval::ValueType::CellType::DOUBLE; + auto ct = vespalib::eval::CellType::DOUBLE; auto euclid = make_distance_function(DistanceMetric::Euclidean, ct); @@ -54,7 +54,7 @@ TEST(DistanceFunctionsTest, euclidean_gives_expected_score) TEST(DistanceFunctionsTest, angular_gives_expected_score) { - auto ct = vespalib::eval::ValueType::CellType::DOUBLE; + auto ct = vespalib::eval::CellType::DOUBLE; auto angular = make_distance_function(DistanceMetric::Angular, ct); @@ -109,7 +109,7 @@ TEST(DistanceFunctionsTest, angular_gives_expected_score) TEST(DistanceFunctionsTest, innerproduct_gives_expected_score) { - auto ct = vespalib::eval::ValueType::CellType::DOUBLE; + auto ct = vespalib::eval::CellType::DOUBLE; auto innerproduct = make_distance_function(DistanceMetric::InnerProduct, ct); @@ -144,7 +144,7 @@ TEST(DistanceFunctionsTest, innerproduct_gives_expected_score) TEST(DistanceFunctionsTest, hamming_gives_expected_score) { - auto ct = vespalib::eval::ValueType::CellType::DOUBLE; + auto ct = vespalib::eval::CellType::DOUBLE; auto hamming = make_distance_function(DistanceMetric::Hamming, ct); @@ -184,7 +184,7 @@ TEST(DistanceFunctionsTest, hamming_gives_expected_score) TEST(GeoDegreesTest, gives_expected_score) { - auto ct = vespalib::eval::ValueType::CellType::DOUBLE; + auto ct = vespalib::eval::CellType::DOUBLE; auto geodeg = make_distance_function(DistanceMetric::GeoDegrees, ct); std::vector g1_sfo{37.61, -122.38}; -- cgit v1.2.3