Update performance_common.hh
Replace std::reduce with std::accumulate due to RHEL build issues.
이 커밋은 다음에 포함됨:
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 =
|
||||
|
||||
새 이슈에서 참조
사용자 차단