positions array only needed for initialization

This commit is contained in:
Ahmet Inan 2019-09-23 12:45:00 +02:00
commit 762c18d234

View file

@ -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;