diff options
author | dos-reis <gdr@axiomatics.org> | 2011-03-12 22:56:37 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-03-12 22:56:37 +0000 |
commit | 6c75a87d8ee00d48a0f5703aa9c86591078a50d3 (patch) | |
tree | 28ff587bbc4d759dd0e3f96b156700ff01ba8c53 /src/algebra/ffpoly2.spad.pamphlet | |
parent | a2e3e641bdbcb6e77bbb572aea25a748a967abca (diff) | |
download | open-axiom-6c75a87d8ee00d48a0f5703aa9c86591078a50d3.tar.gz |
* src/algebra/: Systematically use not one? when comparing for
equality with 1.
Diffstat (limited to 'src/algebra/ffpoly2.spad.pamphlet')
-rw-r--r-- | src/algebra/ffpoly2.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/ffpoly2.spad.pamphlet b/src/algebra/ffpoly2.spad.pamphlet index 76c5780f..b4f6b767 100644 --- a/src/algebra/ffpoly2.spad.pamphlet +++ b/src/algebra/ffpoly2.spad.pamphlet @@ -108,7 +108,7 @@ FiniteFieldPolynomialPackage2(F,GF):Exports == Implementation where h:=gcd(stillToFactor,trModp +$(SUP F) _ (index(j pretend PI)$GF::F::(SUP F)))$(SUP F) -- make the gcd polynomial monic - if leadingCoefficient(h)$(SUP F) ~= 1$F then + if not one? leadingCoefficient(h)$(SUP F) then h:= (inv leadingCoefficient(h)) * h degh:=degree(h)$(SUP F) degSTF:=degree(stillToFactor)$(SUP F) |