• R/O
  • SSH

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A small kernel of code for playing with Galois fields of arbitrary characteristic


Commit MetaInfo

Revision70dafd911f2dfb3043917e590aedfc15eaa4a784 (tree)
Time2017-06-17 02:12:45
AuthorEric Hopper <hopper@omni...>
CommiterEric Hopper

Log Message

Fix a small typo.

For some reason I keep typing ceof instead of coef.

Change Summary

Incremental Difference

diff -r 8548fbdbc6b5 -r 70dafd911f2d polyops.py
--- a/polyops.py Thu Jun 15 12:17:19 2017 -0700
+++ b/polyops.py Fri Jun 16 10:12:45 2017 -0700
@@ -103,7 +103,7 @@
103103 a[n]*x^n + a[n-1]*x^(n-1) + ... a[0].
104104
105105 """
106- def add_ceof(x, y):
106+ def add_coef(x, y):
107107 if x is None:
108108 return y
109109 elif y is None:
@@ -132,7 +132,7 @@
132132 constructor with no arguments.
133133
134134 """
135- def sub_ceof(x, y):
135+ def sub_coef(x, y):
136136 if x is None:
137137 return type(y)() - y
138138 elif y is None: