slightly better printing
This commit is contained in:
parent
556b9cbba5
commit
59c1ad0cdd
3
SL.jl
3
SL.jl
@ -73,7 +73,7 @@ zero(x::Mod) = Mod(x.mod)
|
|||||||
|
|
||||||
function inv(M::Array{Mod,2})
|
function inv(M::Array{Mod,2})
|
||||||
d = det(M)
|
d = det(M)
|
||||||
d ≠ 0*d || thow(ArgumentError("Matrix is not invertible!"))
|
d ≠ 0*d || throw(ArgumentError("Matrix is not invertible! $M"))
|
||||||
return inv(det(M))*adjugate(M)
|
return inv(det(M))*adjugate(M)
|
||||||
return adjugate(M)
|
return adjugate(M)
|
||||||
end
|
end
|
||||||
@ -177,7 +177,6 @@ end
|
|||||||
|
|
||||||
function main()
|
function main()
|
||||||
parsed_args = parse_commandline()
|
parsed_args = parse_commandline()
|
||||||
println("Parsed args:")
|
|
||||||
|
|
||||||
# SL(3,Z)
|
# SL(3,Z)
|
||||||
# upper_bound = 0.28-1e-5
|
# upper_bound = 0.28-1e-5
|
||||||
|
Loading…
Reference in New Issue
Block a user