Update performance_common.hh
Replace std::reduce with std::accumulate due to RHEL build issues.
このコミットが含まれているのは:
1 親
a23c6a140a
コミット
2c7f3749fb
1ファイル変更
+1
-1
@@ -155,7 +155,7 @@ template <typename Derived> class Benchmark {
|
||||
time_ = .0;
|
||||
}
|
||||
|
||||
float sum = std::reduce(cbegin(samples), cend(samples));
|
||||
float sum = std::accumulate(cbegin(samples), cend(samples), .0);
|
||||
float mean = sum / samples.size();
|
||||
|
||||
float deviation =
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする