• Luc Trudeau's avatar
    Avoid calling get_uniform(max=1) · 5186abdb
    Luc Trudeau authored
    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
    5186abdb
obu.c 47.1 KB