fix undefined variable
default value is one(M.base_ring)
This commit is contained in:
parent
67523717b5
commit
ee11e32030
@ -71,7 +71,7 @@ function SL_generatingset(n::Int, p::Int, X::Bool=false)
|
||||
F = ResidueRing(ZZ, p)
|
||||
G = MatrixSpace(F, n, n)
|
||||
indexing = [(i,j) for i in 1:n for j in 1:n if i≠j]
|
||||
S = [E(i, j, G, v) for (i,j) in indexing]
|
||||
S = [E(i, j, G) for (i,j) in indexing]
|
||||
S = vcat(S, [inv(x) for x in S])
|
||||
return G, unique(S)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user