Update performance_common.hh

Replace std::reduce with std::accumulate due to RHEL build issues.
このコミットが含まれているのは:
Maneesh Gupta authored and GitHub committed 2023-07-20 09:55:37 +05:30
1 親 a23c6a140a
コミット 2c7f3749fb
1ファイル変更
+1 -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 =