aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/nlinsol.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/nlinsol.spad.pamphlet')
-rw-r--r--src/algebra/nlinsol.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/nlinsol.spad.pamphlet b/src/algebra/nlinsol.spad.pamphlet
index f181a478..c69d5633 100644
--- a/src/algebra/nlinsol.spad.pamphlet
+++ b/src/algebra/nlinsol.spad.pamphlet
@@ -68,7 +68,7 @@ RetractSolvePackage(Q, R): Exports == Implementation where
"failed"
up := univariate(p, s := u::SY)
ans:FQ := 0
- while up ^= 0 repeat
+ while up ~= 0 repeat
(v := PQIfCan leadingCoefficient up) case "failed" => return "failed"
ans := ans + monomial(1, s, degree up)$PQ * (v::FQ)
up := reductum up