ChannelStaticErrorRate and ErrorErasure should print their intervals in str, repr and latex
Issue #85
resolved
Number of errors/erasures added can be specified precisely or using an interval for these channels.
If constructing one of the channels with such an interval, e.g. (1,10), currently, the repr
etc. functions print e.g.
Static error rate channel creating 7 errors
It should, of course, read something like
Static error rate channel creating between 1 and 10 errors
Similar for ErrorErasureChannel.
Comments (3)
-
reporter -
reporter Oh yeah, and ErrorErasure currently prints "Static error rate channel ..." where it should be something like "Error-and-erasure channel ...".
-
repo owner - changed status to resolved
Yup, I thought the same while writing the docstrings, and this change is propaged everywhere now. Failed copy-pasted print for ErrorErasure is now fixed.
- Log in to comment
Sorry, this is already fixed for StaticErrorRate. But not for ErrorErasure.
Btw. several tests in
test_channel.sheet
currently fail