* public/include/report-processor.php:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@194089
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2015-12-14 Ryosuke Niwa <rniwa@webkit.org>
+ Build fix after r192965. Suppress a warning about log being referred to as a closure variable.
+
+ * public/include/report-processor.php:
+
+2015-12-14 Ryosuke Niwa <rniwa@webkit.org>
+
Using fake timestamp in OS version make some results invisible
https://bugs.webkit.org/show_bug.cgi?id=152289
case 'Arithmetic':
return array_sum($values) / count($values);
case 'Geometric':
- return exp(array_sum(array_map(log, $values)) / count($values));
+ return xp(array_sum(array_map(function ($x) { return log($x); }, $values)) / count($values));
case 'Harmonic':
return count($values) / array_sum(array_map(function ($x) { return 1 / $x; }, $values));
case 'Total':