diff options
author | vdf <vdf@yandex-team.ru> | 2022-02-10 16:48:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:43 +0300 |
commit | c52fa3470f4973c134b3c09a16dcdc7167eaece3 (patch) | |
tree | 21781c6b8c1e8436f9a6e49e43d60b342dca246f /util/generic | |
parent | 7a849a93d8126b563f33ae88ba19b99a6e951a83 (diff) | |
download | ydb-c52fa3470f4973c134b3c09a16dcdc7167eaece3.tar.gz |
Restoring authorship annotation for <vdf@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic')
-rw-r--r-- | util/generic/algorithm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index badfb88993..896d57572e 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); |