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, 2 insertions, 3 deletions
diff --git a/src/algebra/syssolp.spad.pamphlet b/src/algebra/syssolp.spad.pamphlet
index 2d035d32..1561a89a 100644
--- a/src/algebra/syssolp.spad.pamphlet
+++ b/src/algebra/syssolp.spad.pamphlet
@@ -118,9 +118,8 @@ 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')
+ x : SE
+ for x in lv repeat if member?(x,lx) then leave x
up:=univariate(np,x)
(degree up)=1 =>
equation(x::P(R)::F,-coefficient(up,0)/leadingCoefficient up)