Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
meandmytram committed Oct 28, 2024
1 parent e97c1f7 commit 151301d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/decoding/decoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 151301d

Please sign in to comment.