~kb/wyhash

5e8dec06b9fc963163670f1001f5435430a2a1e9 — kb 2 years ago c920c1c
Fix incorrect rand_int output
1 files changed, 1 insertions(+), 1 deletions(-)

M src/wyrand.cr
M src/wyrand.cr => src/wyrand.cr +1 -1
@@ 51,7 51,7 @@ struct Wyrand
      r &*= b

      p = pointerof(r).as {{type}}*
      (p + {{128 // size - 1}}).value
      (p + {{128 // size // 2}}).value
    end
  {% end %}
end