Always resulting in 0
Closed this issue · 3 comments
Mhiw commented
By running the examples provided in the Crates.io page, the result is always the same value (0).
ekoutanov commented
Did you seed it?
Mhiw commented
Doesn't it get seeded automatically when you create the rand object? If it doesn't do that automatically, I think we solved the problem.
ekoutanov commented
No. RNGs typically provide the flexibility to be seeded from a variety of sources and/or user-defined values. The examples also discuss seeding.