diff options
author | dos-reis <gdr@axiomatics.org> | 2008-10-17 23:15:18 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-10-17 23:15:18 +0000 |
commit | e5310ade6942ed3028e2f3cbae831a751aefba9e (patch) | |
tree | f1a1f28fe4381b4b076d7b31d7022dad15fe0fc4 /src/algebra/fr.spad.pamphlet | |
parent | 3c30d3680a1310bf570c0ae65d5ff6c8d4b9e62e (diff) | |
download | open-axiom-e5310ade6942ed3028e2f3cbae831a751aefba9e.tar.gz |
Fix AW/413, AW/414
* src/algebra/fr.spad.pamphlet: Fix missing returns in loops.
* src/algebra/gdpoly.spad.pamphlet: Likewise.
* src/algebra/lmdict.spad.pamphet: Likewise.
* src/algebra/plot3d.spad.pamphlet: Likewise.
* src/algebra/prs.spad.pamphlet: Likewise.
* src/algebra/sups.spad.pamphlet: Likewise.
Diffstat (limited to 'src/algebra/fr.spad.pamphlet')
-rw-r--r-- | src/algebra/fr.spad.pamphlet | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/algebra/fr.spad.pamphlet b/src/algebra/fr.spad.pamphlet index 4e5df0b9..39a7f429 100644 --- a/src/algebra/fr.spad.pamphlet +++ b/src/algebra/fr.spad.pamphlet @@ -168,8 +168,8 @@ Factored(R: IntegralDomain): Exports == Implementation where empty?(lf := reverse factorList x) => convert(unit x)@InputForm l := empty()$List(InputForm) for rec in lf repeat --- one?(rec.fctr) => l - ((rec.fctr) = 1) => l + ((rec.fctr) = 1) => messagePrint("WARNING (convert$Factored):_ + 1 should not appear as factor.")$OutputForm iFactor : InputForm := binary( convert("::" :: Symbol)@InputForm, [convert(rec.fctr)@InputForm, (devaluate R)$Lisp :: InputForm ]$List(InputForm) ) iExpon : InputForm := convert(rec.xpnt)@InputForm iFun : List InputForm := @@ -311,9 +311,7 @@ Factored(R: IntegralDomain): Exports == Implementation where empty?(lf := reverse factorList x) => (unit x)::OutputForm l := empty()$List(OutputForm) for rec in lf repeat --- one?(rec.fctr) => l - ((rec.fctr) = 1) => l --- one?(rec.xpnt) => + ((rec.fctr) = 1) => messagePrint "WARNING (coerce$Factored): 1 should not appear as factor." ((rec.xpnt) = 1) => l := concat(rec.fctr :: OutputForm, l) l := concat(rec.fctr::OutputForm ** rec.xpnt::OutputForm, l) |