From 151301d20360f00468dbde8f096304d882bdf595 Mon Sep 17 00:00:00 2001 From: meandmytram Date: Mon, 28 Oct 2024 12:12:32 -0400 Subject: [PATCH] fix a typo --- examples/decoding/decoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/decoding/decoding.py b/examples/decoding/decoding.py index b0b88ebb..ae034906 100644 --- a/examples/decoding/decoding.py +++ b/examples/decoding/decoding.py @@ -453,7 +453,7 @@ def linear_code_codewords(code: LinearCode) -> np.ndarray: rows_dense = [bin_vec_to_dense(row_bin) for row_bin in rows_bin] rows_int = [row.dot(1 << np.arange(row.size)[::-1]) for row in rows_dense] - # Append the all-zeros codeword which is always a codeword. + # Append the all-zero codeword which is always a codeword. codewords.append(0) # Append the rows of the generator matrix.