Permalink
Browse files

Fixed small typo in the benchmark.. that caused benchmarks to run twi…

…ce..
  • Loading branch information...
3rd-Eden committed Apr 27, 2011
1 parent 2871829 commit d91f1fc4db8ecc73a0c5c7c29629ded0dd815e0e
Showing with 3 additions and 3 deletions.
  1. +3 −3 benchmarks/benchmark.js
View
@@ -36,7 +36,7 @@ constructing
// run the next benchmark if it exists
var next = benchmarks.shift();
- if (next && next.run()) next.run();
+ if (next && next.run) next.run();
});
var random = new Benchmark.Suite;
@@ -55,7 +55,7 @@ random
// run the next benchmark if it exists
var next = benchmarks.shift();
- if (next && next.run()) next.run();
+ if (next && next.run) next.run();
});
var same = new Benchmark.Suite;
@@ -74,7 +74,7 @@ same
// run the next benchmark if it exists
var next = benchmarks.shift();
- if (next && next.run()) next.run();
+ if (next && next.run) next.run();
});

0 comments on commit d91f1fc

Please sign in to comment.