diff --git a/ldpc_decoder2.hh b/ldpc_decoder2.hh index 9d63fac..aa885c6 100644 --- a/ldpc_decoder2.hh +++ b/ldpc_decoder2.hh @@ -39,7 +39,7 @@ class LDPCDecoder static const int MSG = K/D; static const int CNC = TABLE::LINKS_MAX_CN - 2; static const int BNL = (TABLE::LINKS_TOTAL + D-1) / D; - static const int POS = PTY * CNC; + static const int POS = (TABLE::LINKS_TOTAL - (2*R-1) + D-1) / D; typedef SIMD TYPE;