aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/modmon.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-13 03:43:50 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-13 03:43:50 +0000
commit11eebf207528f86dfa4556be3b2cc7cba57244a6 (patch)
tree17c1ed9132ec874b14d2dcd137ac16a91e7a5b27 /src/algebra/modmon.spad.pamphlet
parent6c75a87d8ee00d48a0f5703aa9c86591078a50d3 (diff)
downloadopen-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.pamphlet2
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