mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
limit code length to 256
This commit is contained in:
parent
0642259333
commit
520382a396
3 changed files with 7 additions and 15 deletions
|
|
@ -26,7 +26,7 @@ class PACEncoder
|
|||
return output;
|
||||
}
|
||||
public:
|
||||
void operator()(TYPE *codeword, const TYPE *message, const int *rank_map, int mesg_bits, int level)
|
||||
void operator()(TYPE *codeword, const TYPE *message, const uint8_t *rank_map, int mesg_bits, int level)
|
||||
{
|
||||
int length = 1 << level;
|
||||
int state = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue