mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-09-05 14:46:44 +02:00
No GroupRingElem without parent is allowed
This commit is contained in:
parent
1d5bf641ff
commit
d53051a349
@ -31,10 +31,6 @@ abstract AbstractGroupRingElem
|
|||||||
type GroupRingElem{T<:Number} <: AbstractGroupRingElem
|
type GroupRingElem{T<:Number} <: AbstractGroupRingElem
|
||||||
coeffs::AbstractVector{T}
|
coeffs::AbstractVector{T}
|
||||||
parent::GroupRing
|
parent::GroupRing
|
||||||
|
|
||||||
function GroupRingElem(coeffs::AbstractVector)
|
|
||||||
return new(coeffs)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
export GroupRing, GroupRingElem
|
export GroupRing, GroupRingElem
|
||||||
|
Loading…
Reference in New Issue
Block a user