Skip to content

Commit 4f6c175

Browse files
committed
Fix benchmark
1 parent 5d79a34 commit 4f6c175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/benchmarks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ end
3434
SUITE["with_quantity"] = let s = BenchmarkGroup()
3535
f5(x, y) = x / y
3636
s["/y"] = @benchmarkable $f5(x, y) setup = (x = default(); y = default()) evals = 1000
37-
f6(x, y) = x / y
37+
f6(x, y) = x + y
3838
s["+y"] = @benchmarkable $f6(x, y) setup = (x = default(); y = x + rand() * x) evals = 1000
3939
s
4040
end

0 commit comments

Comments
 (0)