Skip to content

Commit 54e8005

Browse files
Merge branch 'branch1' of
github.com:AyushChakraborty/TheAlgorithms into branch1
2 parents 3e4ed8a + dbea02c commit 54e8005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bit_manipulation/hamming_code_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def hamming_15_11(number: str) -> str:
4646

4747
if len(number) == 11 and is_bin:
4848
digits = [int(number[i]) for i in range(len(number))]
49-
49+
5050
total_ones = sum(digits)
5151
hamming_digits = [0] * 16
5252

0 commit comments

Comments
 (0)