aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/syssolp.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/syssolp.spad.pamphlet')
-rw-r--r--src/algebra/syssolp.spad.pamphlet5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/algebra/syssolp.spad.pamphlet b/src/algebra/syssolp.spad.pamphlet
index 1561a89a..2d035d32 100644
--- a/src/algebra/syssolp.spad.pamphlet
+++ b/src/algebra/syssolp.spad.pamphlet
@@ -118,8 +118,9 @@ SystemSolvePackage(R): Cat == Cap where
z:=last lv
np:=numer makeP2F p
lx:=variables np
- x : SE
- for x in lv repeat if member?(x,lx) then leave x
+ x : SE
+ for x' in lv repeat
+ if member?(x',lx) then leave (x := x')
up:=univariate(np,x)
(degree up)=1 =>
equation(x::P(R)::F,-coefficient(up,0)/leadingCoefficient up)