aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/twofact.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/twofact.spad.pamphlet')
-rw-r--r--src/algebra/twofact.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/twofact.spad.pamphlet b/src/algebra/twofact.spad.pamphlet
index eb0bad93..2161c9a2 100644
--- a/src/algebra/twofact.spad.pamphlet
+++ b/src/algebra/twofact.spad.pamphlet
@@ -176,7 +176,7 @@ TwoFactorize(F) : C == T
ll:=[]
unitPart:P
cont:=content m
- if degree(cont)>0 then
+ if positive? degree(cont) then
m1:=m exquo cont
m1 case "failed" => error "content doesn't divide"
m:=m1