diff options
author | Geir Storli <geirst@verizonmedia.com> | 2020-02-11 11:43:54 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2020-02-11 11:43:54 +0000 |
commit | e3e77d310e0ca6363a6b4571ca55f85356db60af (patch) | |
tree | 33f23d6d3f39a9767abbe4ae33cef41293fc45c5 /searchlib | |
parent | b9e867c4a20e9aa340dbdb110066083ebcc2a619 (diff) |
Remove unneeded "template" keyword.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/tensor/distance_functions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/tensor/distance_functions.h b/searchlib/src/vespa/searchlib/tensor/distance_functions.h index dabab55dc7a..1e8727e92aa 100644 --- a/searchlib/src/vespa/searchlib/tensor/distance_functions.h +++ b/searchlib/src/vespa/searchlib/tensor/distance_functions.h @@ -15,8 +15,8 @@ template <typename FloatType> class SquaredEuclideanDistance : public DistanceFunction { public: double calc(const vespalib::tensor::TypedCells& lhs, const vespalib::tensor::TypedCells& rhs) const override { - auto lhs_vector = lhs.template typify<FloatType>(); - auto rhs_vector = rhs.template typify<FloatType>(); + auto lhs_vector = lhs.typify<FloatType>(); + auto rhs_vector = rhs.typify<FloatType>(); double result = 0.0; size_t sz = lhs_vector.size(); assert(sz == rhs_vector.size()); |