lib/benchmark_driver/repeater.rb in benchmark_driver-0.15.10 vs lib/benchmark_driver/repeater.rb in benchmark_driver-0.15.11

- old
+ new

@@ -52,10 +52,10 @@ when :first rest = values.first[1..-1] [values.map { |v| v[0] }.inject(&:+) / values.size.to_f, *rest] when :average values.first.size.times.map do |index| - values.map { |v| v[index] }.inject(&:+) / values.first.size.to_f + values.map { |v| v[index] }.inject(&:+) / values.size.to_f end else raise "unexpected rest_on_average #{rest_on_average.inspect}" end end