Skip to content

Commit 09c2c99

Browse files
authored
Merge pull request #42 from christiangnrd/bench
Typo in `accumulate` benchmarks
2 parents 06c2594 + 19b1ac2 commit 09c2c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/accumulate_nd.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ display(@benchmark AK.accumulate(+, v, init=Int64(0), dims=1) setup=(v = ArrayTy
5050

5151
println("\n===\nBenchmarking accumulate(+, dims=2) on $n1 × $n2 Int64 - Base vs. AK")
5252
display(@benchmark Base.accumulate(+, v, init=Int64(0), dims=2) setup=(v = ArrayType(rand(Int64(1):Int64(100), n1, n2))))
53-
display(@benchmark AK.reduce(+, v, init=Int64(0), dims=2) setup=(v = ArrayType(rand(Int64(1):Int64(100), n1, n2))))
53+
display(@benchmark AK.accumulate(+, v, init=Int64(0), dims=2) setup=(v = ArrayType(rand(Int64(1):Int64(100), n1, n2))))
5454

5555

5656

0 commit comments

Comments
 (0)