From 762c18d2347142fa1707658e00ce90cc6ee75608 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Mon, 23 Sep 2019 12:45:00 +0200 Subject: [PATCH] positions array only needed for initialization --- ldpc_decoder2.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldpc_decoder2.hh b/ldpc_decoder2.hh index aa885c6..bc81ee5 100644 --- a/ldpc_decoder2.hh +++ b/ldpc_decoder2.hh @@ -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;