mirror of
https://github.com/aicodix/code.git
synced 2026-04-28 09:43:11 +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 bnl[BNL];
|
||||||
TYPE msg[MSG];
|
TYPE msg[MSG];
|
||||||
TYPE pty[PTY];
|
TYPE pty[PTY];
|
||||||
uint16_t pos[q * CNC];
|
|
||||||
uint16_t off[POS];
|
uint16_t off[POS];
|
||||||
uint8_t shi[POS];
|
uint8_t shi[POS];
|
||||||
uint8_t cnc[q];
|
uint8_t cnc[q];
|
||||||
|
|
@ -194,6 +193,7 @@ class LDPCDecoder
|
||||||
public:
|
public:
|
||||||
LDPCDecoder()
|
LDPCDecoder()
|
||||||
{
|
{
|
||||||
|
uint16_t pos[q * CNC];
|
||||||
for (int i = 0; i < q; ++i)
|
for (int i = 0; i < q; ++i)
|
||||||
cnc[i] = 0;
|
cnc[i] = 0;
|
||||||
int bit_pos = 0;
|
int bit_pos = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue