bch
bch copied to clipboard
It fails to generate codes for the t=1 cases.
I tried to generate a list of generator polynomials. It worked except for the t=1 cases. Specifically: (n,k,t) (7,4,1) (15,11,1) (31,26,1) (63,57,1), (255,247,1) (511,502,1), (1023,1013,1)
./bch.py gen 7 4 1 code
Traceback (most recent call last):
File "./bch.py", line 130, in