Skip to content

Commit c80d243

Browse files
authored
Merge pull request #25295 from palimondo/futureproof-randLCG-bench
[benchmark] RandomIntegersLCG future-proofed
2 parents 53474b8 + 9706668 commit c80d243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/single-source/RandomValues.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public func run_RandomIntegersLCG(_ N: Int) {
6363
for _ in 0 ..< 100_000 {
6464
x &+= Int64.random(in: 0...10_000, using: &generator)
6565
}
66-
CheckResults(x == 498214315)
66+
blackHole(x)
6767
}
6868
}
6969

0 commit comments

Comments
 (0)