aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorvdf <vdf@yandex-team.ru>2022-02-10 16:48:43 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:43 +0300
commitb74c16abd264d7a738bce3733832ce988b28efc4 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util
parentc52fa3470f4973c134b3c09a16dcdc7167eaece3 (diff)
downloadydb-b74c16abd264d7a738bce3733832ce988b28efc4.tar.gz
Restoring authorship annotation for <vdf@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/generic/algorithm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h
index 896d57572e..badfb88993 100644
--- a/util/generic/algorithm.h
+++ b/util/generic/algorithm.h
@@ -477,11 +477,11 @@ Val Accumulate(const C& c, Val val, BinOp binOp) {
return Accumulate(std::begin(c), std::end(c), std::move(val), binOp);
}
-template <typename It1, typename It2, typename Val>
-static inline Val InnerProduct(It1 begin1, It1 end1, It2 begin2, Val val) {
- return std::inner_product(begin1, end1, begin2, val);
-}
-
+template <typename It1, typename It2, typename Val>
+static inline Val InnerProduct(It1 begin1, It1 end1, It2 begin2, Val val) {
+ return std::inner_product(begin1, end1, begin2, val);
+}
+
template <typename It1, typename It2, typename Val, typename BinOp1, typename BinOp2>
static inline Val InnerProduct(It1 begin1, It1 end1, It2 begin2, Val val, BinOp1 binOp1, BinOp2 binOp2) {
return std::inner_product(begin1, end1, begin2, val, binOp1, binOp2);