mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-13 22:03:42 +00:00
Fix typo
This commit is contained in:
@@ -399,7 +399,7 @@ zipf_uint64 :: proc(z: Zipf) -> u64 {
|
||||
r := float64(z.gen) // [0, 1)
|
||||
ur := r * z.hx0_minus_hxm + z.hxm
|
||||
x := zipf_hinv(z, ur)
|
||||
k := math.floor(x + 0.5)
|
||||
k = math.floor(x + 0.5)
|
||||
if k-x <= z.s {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user