fix: N -> n in ID(n,p)

This commit is contained in:
kalmar 2017-03-17 15:31:50 +01:00
parent 72997b58d0
commit 556b9cbba5
1 changed files with 1 additions and 1 deletions

2
SL.jl
View File

@ -119,7 +119,7 @@ ID(n::Int) = eye(Int, n)
function ID(n::Int, p::Int)
p==0 && return ID(n)
return [Mod(x,p) for x in eye(Int,N)]
return [Mod(x,p) for x in eye(Int,n)]
end