aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/accurate_accumulate/accurate_accumulate.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/accurate_accumulate/accurate_accumulate.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/accurate_accumulate/accurate_accumulate.h')
-rw-r--r--library/cpp/accurate_accumulate/accurate_accumulate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/accurate_accumulate/accurate_accumulate.h b/library/cpp/accurate_accumulate/accurate_accumulate.h
index 87f12d632e..dacced17e9 100644
--- a/library/cpp/accurate_accumulate/accurate_accumulate.h
+++ b/library/cpp/accurate_accumulate/accurate_accumulate.h
@@ -184,7 +184,7 @@ static inline double FastAccumulate(It begin, It end) {
}
template <typename T>
-static inline double FastAccumulate(const TVector<T>& sequence) {
+static inline double FastAccumulate(const TVector<T>& sequence) {
return FastAccumulate(sequence.begin(), sequence.end());
}
@@ -194,7 +194,7 @@ static inline double FastKahanAccumulate(It begin, It end) {
}
template <typename T>
-static inline double FastKahanAccumulate(const TVector<T>& sequence) {
+static inline double FastKahanAccumulate(const TVector<T>& sequence) {
return FastKahanAccumulate(sequence.begin(), sequence.end());
}
@@ -204,7 +204,7 @@ static inline double FastInnerProduct(It1 begin1, It1 end1, It2 begin2) {
}
template <typename T>
-static inline double FastInnerProduct(const TVector<T>& lhs, const TVector<T>& rhs) {
+static inline double FastInnerProduct(const TVector<T>& lhs, const TVector<T>& rhs) {
Y_ASSERT(lhs.size() == rhs.size());
return FastInnerProduct(lhs.begin(), lhs.end(), rhs.begin());
}
@@ -215,7 +215,7 @@ static inline double FastKahanInnerProduct(It1 begin1, It1 end1, It2 begin2) {
}
template <typename T>
-static inline double FastKahanInnerProduct(const TVector<T>& lhs, const TVector<T>& rhs) {
+static inline double FastKahanInnerProduct(const TVector<T>& lhs, const TVector<T>& rhs) {
Y_ASSERT(lhs.size() == rhs.size());
return FastKahanInnerProduct(lhs.begin(), lhs.end(), rhs.begin());
}