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