Ignore:
Timestamp:
Mar 6, 2010, 1:23:44 PM (10 years ago)
Author:
cameron
Message:

Fix EOF_mask (went 1 position too far)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/bitutil.py

    r316 r371  
    4646def EOF_mask(strm_lgth):
    4747        mask = 1
    48         mask <<= (strm_lgth + 1)
     48        mask <<= (strm_lgth)
    4949        mask -= 1
    5050        return mask
Note: See TracChangeset for help on using the changeset viewer.