Skip to content

Commit bae62e8

Browse files
committed
they’re calling it the most subtle edge case ever
1 parent d62315b commit bae62e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Random/Binomial.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ extension Binomial {
241241
} else {
242242
// region 4: right exponential tail
243243
let x: Double = envelope.r - Double.log(v) / λ.r
244-
if x > Double.init(Int64.max) {
244+
if x >= Double.init(Int64.max) {
245245
continue
246246
}
247247

0 commit comments

Comments
 (0)