git-svn-id: http://skia.googlecode.com/svn/trunk@4436 2bbb7eff-a529-9590-31e7-b0007b4...
authorbensong@google.com <bensong@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 2 Jul 2012 21:49:30 +0000 (21:49 +0000)
committerbensong@google.com <bensong@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 2 Jul 2012 21:49:30 +0000 (21:49 +0000)
bench/bench_util.py

index f3dd7af..22ded9d 100644 (file)
@@ -82,7 +82,7 @@ def parse(settings, lines):
                 times = new_config.group(2)
                 for new_time in re.finditer(time_re, times):
                     current_time_type = new_time.group(1)
-                    iters = [float[i] for i in
+                    iters = [float(i) for i in
                              new_time.group(2).strip().split(',')]
                     current_time = sum(iters) / len(iters)
                     benches.append(BenchDataPoint(