diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-06-13 11:32:10 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-06-13 11:32:10 +0000 |
commit | 989a460db633115b535fde5298f6a064b794ee9f (patch) | |
tree | 6a52486ce517c06d34632e96582786a95bb98096 /searchlib | |
parent | 75232ef72c5d062bc56d1f8185e16231e8bc5bef (diff) |
Explicit instantiate templates used on the outside.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/features/dotproductfeature.cpp | 2 | ||||
-rw-r--r-- | searchlib/src/vespa/searchlib/features/dotproductfeature.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp index a7696b2968d..e220e3c20ae 100644 --- a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp +++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp @@ -44,6 +44,8 @@ VectorBase<DimensionVType, DimensionHType, ComponentType, HashMapComparator>::sy } template class VectorBase<int64_t, int64_t, double>; +template class VectorBase<uint32_t, uint32_t, double>; + template class IntegerVectorT<int64_t>; diff --git a/searchlib/src/vespa/searchlib/features/dotproductfeature.h b/searchlib/src/vespa/searchlib/features/dotproductfeature.h index 1edb2d202ee..d315a24ecb3 100644 --- a/searchlib/src/vespa/searchlib/features/dotproductfeature.h +++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.h @@ -76,6 +76,7 @@ public: }; extern template class VectorBase<int64_t, int64_t, double>; +extern template class VectorBase<uint32_t, uint32_t, double>; extern template class IntegerVectorT<int64_t>; using IntegerVector = IntegerVectorT<int64_t>; |