Permalink
Browse files

test/shootout/mean: fix harder

  • Loading branch information...
1 parent 0bfa0c1 commit 150a1751987b1cc80911fcfcf64b8daa117221e4 @jckarter committed Feb 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/shootout/mean/main.clay
@@ -1,10 +1,10 @@
test() {
var result = 0.;
- for (i in range(100000.)) {
+ for (i in range(100000)) {
result = 0.;
- for (j in range(10000.))
- result += j;
+ for (j in range(10000))
+ result += Float64(j);
}
result /= 10000.;
return result;

0 comments on commit 150a175

Please sign in to comment.