aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/smith.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/smith.spad.pamphlet')
-rw-r--r--src/algebra/smith.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/smith.spad.pamphlet b/src/algebra/smith.spad.pamphlet
index 34b8f55b..4e824033 100644
--- a/src/algebra/smith.spad.pamphlet
+++ b/src/algebra/smith.spad.pamphlet
@@ -185,7 +185,7 @@ SmithNormalForm(R,Row,Col,M) : Exports == Implementation where
t11:=t1(1,1)
for i in 1..m1 repeat
u(i,1) := (mm(i,1) exquo t11) :: R
- for j in 2..m1 repeat
+ for j: local in 2..m1 repeat
j0:=j
tjj : R
while zero?(tjj:=t1(j,j0)) repeat j0:=j0+1