Commit 5186abdb authored by Luc Trudeau's avatar Luc Trudeau
Browse files

Avoid calling get_uniform(max=1)

Calling get_uniform(max=1) results in a read_bits(n=0),
In get_uniform, the n param is renamed to max to clarify the
semantics. Asserts are added to detect calls to get_uniform()
and get_bits() that don't actually read anything.

Closes #76
parent 8eed0b67
Pipeline #1212 passed with stage
in 1 minute and 59 seconds