1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-10-11 06:55:35 +02: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 end
function GroupRing(G::Group; init::Bool=false) function GroupRing(G::Group; init::Bool=false)
return GroupRing(G, collect(elements(G)), init=init) return GroupRing(G, [elements(G)...], init=init)
end end
function GroupRing(G::Group, basis::Vector, pm::Array{Int,2}) function GroupRing(G::Group, basis::Vector, pm::Array{Int,2})