From 3e91ae52d3b375902777cc5b4af0d6f08e4ed29e Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Tue, 20 Feb 2024 17:57:09 +0100 Subject: [PATCH] keep range symmetric --- ldpc_decoder.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldpc_decoder.hh b/ldpc_decoder.hh index 837db0d..010ae96 100644 --- a/ldpc_decoder.hh +++ b/ldpc_decoder.hh @@ -162,7 +162,7 @@ class LDPCDecoder TYPE out = vsign(other(mag, min0, min1), mine(signs, inp)); - out = vclamp(out, -32, 31); + out = vclamp(out, -31, 31); out = selfcorr(bl[k], out);