Skip to content

Commit

Permalink
Merge pull request swiftlang#25295 from palimondo/futureproof-randLCG…
Browse files Browse the repository at this point in the history
…-bench

[benchmark] RandomIntegersLCG future-proofed
  • Loading branch information
palimondo authored Jun 7, 2019
2 parents 53474b8 + 9706668 commit c80d243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/single-source/RandomValues.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public func run_RandomIntegersLCG(_ N: Int) {
for _ in 0 ..< 100_000 {
x &+= Int64.random(in: 0...10_000, using: &generator)
}
CheckResults(x == 498214315)
blackHole(x)
}
}

Expand Down

0 comments on commit c80d243

Please sign in to comment.