1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-11-14 21:25:28 +01:00

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

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})