diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-04-08 16:49:21 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-04-09 13:34:40 +0000 |
commit | 9d0e9f1725f7837278ec1d18d505c90f2f306fd5 (patch) | |
tree | 3e1b7be9176fa8dd5856582087d383abd9e79ac3 /searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp | |
parent | efd8a4ed2e94a1a6cec85ecf9c0a5df82bf7daad (diff) |
fix NNS distance for new cell types
Diffstat (limited to 'searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp')
-rw-r--r-- | searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp index f1d910f2635..2a509031e24 100644 --- a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp +++ b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp @@ -230,7 +230,7 @@ public: const search::tensor::DistanceFunction *distance_function() const override { - static search::tensor::SquaredEuclideanDistance<double> my_dist_fun; + static search::tensor::SquaredEuclideanDistance my_dist_fun; return &my_dist_fun; } }; |