diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 3c84fe3..6a60410 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -74,7 +74,7 @@ parent_type(::Type{GroupRingElem}) = GroupRing eltype(X::GroupRingElem) = eltype(X.coeffs) -parent{T}(g::GroupRingElem{T}) = g.parent +parent(g::GroupRingElem) = g.parent Base.promote_rule{T<:Number,S<:Number}(::Type{GroupRingElem{T}}, ::Type{GroupRingElem{S}}) = GroupRingElem{promote_type(T,S)}