diff options
Diffstat (limited to 'src/algebra/moddfact.spad.pamphlet')
-rw-r--r-- | src/algebra/moddfact.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/moddfact.spad.pamphlet b/src/algebra/moddfact.spad.pamphlet index 5cb2893d..9cf3d902 100644 --- a/src/algebra/moddfact.spad.pamphlet +++ b/src/algebra/moddfact.spad.pamphlet @@ -79,7 +79,7 @@ ModularDistinctDegreeFactorizer(U):C == T where exactquo(u:U,v:U,p:I):Union(U,"failed") == invlcv:=modInverse(leadingCoefficient v,p) r:=monicDivide(u,reduction(invlcv*v,p)) - reduction(r.remainder,p) ~=0 => "failed" + not zero? reduction(r.remainder,p) => "failed" reduction(invlcv*r.quotient,p) EMR := EuclideanModularRing(Integer,U,Integer, reduction,merge,exactquo) |