Skip to content

Commit

Permalink
Correct defect in javalib ThreadLocalRandom doubleStreams forEachRema…
Browse files Browse the repository at this point in the history
…ining (#3406)
  • Loading branch information
LeeTibbert committed Jul 21, 2023
1 parent b4778e4 commit 0e181d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ object ThreadLocalRandom {
var i = index
index = fence
while ({
rng.internalNextDouble()(origin, bound)
consumer.accept(rng.internalNextDouble()(origin, bound))
i += 1
i < fence
}) ()
Expand Down

0 comments on commit 0e181d4

Please sign in to comment.