1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-28 18:50:29 +01:00

replace splatting by vec

This commit is contained in:
kalmarek 2018-04-09 13:02:15 +02:00
parent 15a003ab72
commit 1074d4e849

View File

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