Closed bradencarlson closed 2 years ago
This has been fixed. The .transmit()
function now does not check the type of the list that is passed, but rather, checks to ensure that the list contains only ones and zeros. It then continues to use the class Bernoulli instance to randomly change bits in the mesage, and then instead of returning a matrix, since this was also breaking, it returns a list. This will change how this class is used, since the messages to be transmited will have to be converted to lists, and messages recieved will have to be changed from lists to matrices.
.transmit()
function does not work becuase it can't find the class that it checks, this will have to be changed.