comment about max_exponent, remove its use: use python slice [:-1]
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 22 Apr 2019 20:58:26 +0000 (21:58 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 23 Apr 2019 08:30:13 +0000 (09:30 +0100)
commitd7d4d8c2219412a45f6f860cdc62d325a446bb36
tree877d4883dfc728fe90be4868f9c5bc39623f80c0
parent8ad0cbf227e66bdb24899dc4c785dc02aa760507
comment about max_exponent, remove its use: use python slice [:-1]
slice [:-1] is the python way to not need explicit length
it is already in self.state, so no need to do self.max_exponent-1
just use -1
TLB/src/LFSR.py