relax size of wd_t by two parity links

This commit is contained in:
Ahmet Inan 2019-10-01 16:11:51 +02:00
commit e8b43ce90f

View file

@ -45,7 +45,7 @@ class LDPCDecoder
typedef SIMD<int8_t, SIMD_SIZE> 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<TYPE, D> rotate;
TYPE bnl[BNL];