A small kernel of code for playing with Galois fields of arbitrary characteristic
Revision | 70dafd911f2dfb3043917e590aedfc15eaa4a784 (tree) |
---|---|
Time | 2017-06-17 02:12:45 |
Author | Eric Hopper <hopper@omni...> |
Commiter | Eric Hopper |
Fix a small typo.
For some reason I keep typing ceof instead of coef.
@@ -103,7 +103,7 @@ | ||
103 | 103 | a[n]*x^n + a[n-1]*x^(n-1) + ... a[0]. |
104 | 104 | |
105 | 105 | """ |
106 | - def add_ceof(x, y): | |
106 | + def add_coef(x, y): | |
107 | 107 | if x is None: |
108 | 108 | return y |
109 | 109 | elif y is None: |
@@ -132,7 +132,7 @@ | ||
132 | 132 | constructor with no arguments. |
133 | 133 | |
134 | 134 | """ |
135 | - def sub_ceof(x, y): | |
135 | + def sub_coef(x, y): | |
136 | 136 | if x is None: |
137 | 137 | return type(y)() - y |
138 | 138 | elif y is None: |