From b6313b90873994cf97bbd418029f4f0eba352900 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Tue, 5 Nov 2019 09:44:37 +0100 Subject: [PATCH] added code to print offset and shift tables --- ldpc_decoder.hh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ldpc_decoder.hh b/ldpc_decoder.hh index 1679011..c00f04e 100644 --- a/ldpc_decoder.hh +++ b/ldpc_decoder.hh @@ -241,6 +241,14 @@ public: tmp |= 1 << d; if (tmp) *wd++ = tmp; + +#if 0 + std::cout << deg; + for (int d = 0; d < deg; ++d) + std::cout << '\t' << (int)lo[d].off << ':' << (int)lo[d].shi; + std::cout << std::endl; +#endif + lo += deg; } }