aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/solvelin.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/solvelin.spad.pamphlet')
-rw-r--r--src/algebra/solvelin.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/solvelin.spad.pamphlet b/src/algebra/solvelin.spad.pamphlet
index 9c35d201..4700ce1a 100644
--- a/src/algebra/solvelin.spad.pamphlet
+++ b/src/algebra/solvelin.spad.pamphlet
@@ -213,7 +213,7 @@ LinearSystemPolynomialPackage(R, E, OV, P): Cat == Capsule where
poly2vect(p : P, vs : List OV) : Record(coefvec: V F, reductum: F) ==
coefs := new(#vs, 0)$(V F)
- for v in vs for i in 1.. while p ^= 0 repeat
+ for v in vs for i in 1.. while p ~= 0 repeat
u := univariate(p, v)
degree u = 0 => "next v"
coefs.i := (c := leadingCoefficient u)::F