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.pamphlet1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/algebra/solvelin.spad.pamphlet b/src/algebra/solvelin.spad.pamphlet
index 4700ce1a..f3f6a63e 100644
--- a/src/algebra/solvelin.spad.pamphlet
+++ b/src/algebra/solvelin.spad.pamphlet
@@ -79,6 +79,7 @@ LinearSystemMatrixPackage(F, Row, Col, M): Cat == Capsule where
-- find leading elements of diagonal
v := new(nvar, minRowIndex m - 1)$PrimitiveArray(Integer)
for i in minRowIndex m .. rk repeat
+ j : Integer
for j in 0.. while zero? qelt(m, i, j+minColIndex m) repeat 0
v.j := i
for j in 0..nvar-1 repeat