From e8b43ce90fea4516308de54efbd6c540e42dbbfe Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Tue, 1 Oct 2019 16:11:51 +0200 Subject: [PATCH] relax size of wd_t by two parity links --- ldpc_decoder2.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldpc_decoder2.hh b/ldpc_decoder2.hh index 33b3901..1987162 100644 --- a/ldpc_decoder2.hh +++ b/ldpc_decoder2.hh @@ -45,7 +45,7 @@ class LDPCDecoder typedef SIMD TYPE; typedef struct { uint16_t off; uint16_t shi; } Loc; typedef uint32_t wd_t; - static_assert(sizeof(wd_t) * 8 >= TABLE::LINKS_MAX_CN, "write disable mask needs at least as many bits as max check node links"); + static_assert(sizeof(wd_t) * 8 >= CNC, "write disable mask needs at least as many bits as max check node links"); Rotate rotate; TYPE bnl[BNL];