Open
Description
Hello! I've been using this module to help test my own hamming code module. However, I've stumbled upon a problem wherein your decoding function says it could not find the error in the string when the first bit is changed. Here's an example of what I'm talking about (using an already encoded and valid hamming code string):
cadena = '1010101' print(detectar_error_externo(cadena))
The output is -1, which means your decoding function says there is no error, and there isn't. But when I change the first bit like so:
cadena = '0010101' print(detectar_error_externo(cadena))
The output is a print statement saying the error could not be detected.
Metadata
Metadata
Assignees
Labels
No labels