diff options
Diffstat (limited to 'src/algebra/primelt.spad.pamphlet')
-rw-r--r-- | src/algebra/primelt.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/primelt.spad.pamphlet b/src/algebra/primelt.spad.pamphlet index c72e09f6..9163b529 100644 --- a/src/algebra/primelt.spad.pamphlet +++ b/src/algebra/primelt.spad.pamphlet @@ -92,7 +92,7 @@ PrimitiveElement(F): Exports == Implementation where ll := nil()$List(UP) for v in lv repeat ((u := findUniv(l, v, w)) case "failed") or - (degree(p := univariate(u::P, v)) ~= 1) => return "failed" + not one? degree(p := univariate(u::P, v)) => return "failed" (bc := extendedEuclidean(univariate leadingCoefficient p, pw,1)) case "failed" => error "Should not happen" ll := concat(map(#1, |