aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/moddfact.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/moddfact.spad.pamphlet')
-rw-r--r--src/algebra/moddfact.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/moddfact.spad.pamphlet b/src/algebra/moddfact.spad.pamphlet
index 20793c67..dc68773e 100644
--- a/src/algebra/moddfact.spad.pamphlet
+++ b/src/algebra/moddfact.spad.pamphlet
@@ -101,7 +101,7 @@ ModularDistinctDegreeFactorizer(U):C == T where
i:I
exptmod(u1,i,u2) ==
- i < 0 => error("negative exponentiation not allowed for exptMod")
+ negative? i => error("negative exponentiation not allowed for exptMod")
ans:= 1$EMR
while i > 0 repeat
if odd?(i) then ans:= (ans * u1) rem u2