aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/mfinfact.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/mfinfact.spad.pamphlet')
-rw-r--r--src/algebra/mfinfact.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/mfinfact.spad.pamphlet b/src/algebra/mfinfact.spad.pamphlet
index bca79804..c7d9645e 100644
--- a/src/algebra/mfinfact.spad.pamphlet
+++ b/src/algebra/mfinfact.spad.pamphlet
@@ -331,7 +331,7 @@ MultFiniteFactorize(OV,E,F,PG) : C == T
-- This function has to be added to Eucliden domain
ran(k1:Z) : R ==
- --if R case Integer then random()$R rem (2*k1)-k1
+ --if R case Integer then random(2*k1)$R-k1
--else
+/[monomial(random()$F,i)$R for i in 0..k1]