mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
positions array only needed for initialization
This commit is contained in:
parent
8718380786
commit
762c18d234
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,6 @@ class LDPCDecoder
|
|||
TYPE bnl[BNL];
|
||||
TYPE msg[MSG];
|
||||
TYPE pty[PTY];
|
||||
uint16_t pos[q * CNC];
|
||||
uint16_t off[POS];
|
||||
uint8_t shi[POS];
|
||||
uint8_t cnc[q];
|
||||
|
|
@ -194,6 +193,7 @@ class LDPCDecoder
|
|||
public:
|
||||
LDPCDecoder()
|
||||
{
|
||||
uint16_t pos[q * CNC];
|
||||
for (int i = 0; i < q; ++i)
|
||||
cnc[i] = 0;
|
||||
int bit_pos = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue