change collect(a) -> [a...]: we need vector of elements for GroupRing

This commit is contained in:
kalmar 2017-07-21 17:17:38 +02:00
parent 24312ee972
commit bce92ef278
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ function GroupRingElem{T<:Number}(c::AbstractVector{T}, RG::GroupRing)
end
function GroupRing(G::Group; init::Bool=false)
return GroupRing(G, collect(elements(G)), init=init)
return GroupRing(G, [elements(G)...], init=init)
end
function GroupRing(G::Group, basis::Vector, pm::Array{Int,2})