mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-29 11:00:28 +01:00
fix order of args
This commit is contained in:
parent
3da2110355
commit
a7683c6fcc
@ -61,12 +61,12 @@ function GroupRingElem{T<:Number}(c::AbstractVector{T}, A::GroupRing)
|
||||
end
|
||||
|
||||
convert{T<:Number}(::Type{T}, X::GroupRingElem) =
|
||||
GroupRingElem(parent(X), convert(AbstractVector{T}, X.coeffs))
|
||||
GroupRingElem(convert(AbstractVector{T}, X.coeffs), parent(X))
|
||||
|
||||
function GroupRing(G::Group, pm::Array{Int,2})
|
||||
size(pm,1) == size(pm,2) || throw("pm must be of size (n,n), got
|
||||
$(size(pm))")
|
||||
return GroupRing(Group, pm)
|
||||
return GroupRing(G, pm)
|
||||
end
|
||||
|
||||
function GroupRing(G::Group, pm::Array{Int,2}, basis::Vector)
|
||||
|
Loading…
Reference in New Issue
Block a user