mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-09-08 15:31:44 +02:00
cosmetic
This commit is contained in:
parent
39039f9ec1
commit
66711a3181
@ -99,8 +99,7 @@ end
|
|||||||
function GroupRing(G::Group, basis::Vector, pm::Array{Int,2})
|
function GroupRing(G::Group, basis::Vector, pm::Array{Int,2})
|
||||||
size(pm,1) == size(pm,2) || throw("pm must be square, got $(size(pm))")
|
size(pm,1) == size(pm,2) || throw("pm must be square, got $(size(pm))")
|
||||||
eltype(basis) == elem_type(G) || throw("Basis must consist of elements of $G")
|
eltype(basis) == elem_type(G) || throw("Basis must consist of elements of $G")
|
||||||
basis_dict = reverse_dict(basis)
|
return GroupRing(G, basis, reverse_dict(basis), pm)
|
||||||
return GroupRing(G, basis, basis_dict, pm)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user