diff options
author | dos-reis <gdr@axiomatics.org> | 2011-03-13 03:43:50 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-03-13 03:43:50 +0000 |
commit | 11eebf207528f86dfa4556be3b2cc7cba57244a6 (patch) | |
tree | 17c1ed9132ec874b14d2dcd137ac16a91e7a5b27 /src/algebra/modmon.spad.pamphlet | |
parent | 6c75a87d8ee00d48a0f5703aa9c86591078a50d3 (diff) | |
download | open-axiom-11eebf207528f86dfa4556be3b2cc7cba57244a6.tar.gz |
* src/algebra/: Systematically use not zero? when comparing for
equality with 0.
Diffstat (limited to 'src/algebra/modmon.spad.pamphlet')
-rw-r--r-- | src/algebra/modmon.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/modmon.spad.pamphlet b/src/algebra/modmon.spad.pamphlet index cb60793e..94872e38 100644 --- a/src/algebra/modmon.spad.pamphlet +++ b/src/algebra/modmon.spad.pamphlet @@ -139,7 +139,7 @@ ModMonic(R,Rep): C == T frobenius(a:%):% == aq:% := 0 - while a~=0 repeat + while not zero? a repeat aq:= aq + leadingCoefficient(a)*frobeniusPower(degree a) a := reductum a aq |