diff options
Diffstat (limited to 'src/algebra/leadcdet.spad.pamphlet')
-rw-r--r-- | src/algebra/leadcdet.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/leadcdet.spad.pamphlet b/src/algebra/leadcdet.spad.pamphlet index 47ac9d85..0c312914 100644 --- a/src/algebra/leadcdet.spad.pamphlet +++ b/src/algebra/leadcdet.spad.pamphlet @@ -62,7 +62,7 @@ LeadingCoefDetermination(OV,E,Z,P) : C == T q := unitNormal(lval.i).canonical for j in 0..(i-1)::NNI repeat y := distlist.((i-j)::NNI) - while y~=1 repeat + while not one? y repeat y := gcd(y,q) q := q quo y if q=1 then return false @@ -87,7 +87,7 @@ LeadingCoefDetermination(OV,E,Z,P) : C == T d := vl.i quo d unilist.i := d*unilist.i contm := contm quo d - if contm ~=1 then for i in 1..nf repeat pl.i := contm*pl.i + if not one? contm then for i in 1..nf repeat pl.i := contm*pl.i [pl,contm,unilist]$LeadFact distFact(contm:Z,unilist:List(BP),plead:FinalFact, |