mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +01:00
add explicit types for keywords
This commit is contained in:
parent
9919652590
commit
ddaef73872
@ -490,7 +490,7 @@ function reverse_dict(iter)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function create_pm{T<:GroupElem}(basis::Vector{T}, basis_dict::Dict{T, Int},
|
function create_pm{T<:GroupElem}(basis::Vector{T}, basis_dict::Dict{T, Int},
|
||||||
limit=length(basis); twisted=false)
|
limit::Int=length(basis); twisted::Bool=false)
|
||||||
product_matrix = zeros(Int, (limit,limit))
|
product_matrix = zeros(Int, (limit,limit))
|
||||||
for i in 1:limit
|
for i in 1:limit
|
||||||
x = basis[i]
|
x = basis[i]
|
||||||
|
Loading…
Reference in New Issue
Block a user