Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Replace one occurrence of "2" by "base"
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara Kropf committed Oct 21, 2014
1 parent 8e0b5cc commit 44a2455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/finite_state_machine_generators.py
Expand Up @@ -1223,7 +1223,7 @@ def parse_equation(equation):
def transition_function((carry, look_ahead), input):
current = carry + input * base**look_ahead
K = look_ahead + 1
R = current % 2**K
R = current % base**K
rule = residues[K][R]
if rule is not None:
n = (current - R) / base**K
Expand Down

0 comments on commit 44a2455

Please sign in to comment.