From 9a1bb2e707926639539296a1d55d75be3bad1819 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Fri, 17 Nov 2017 15:25:42 +0100 Subject: [PATCH] update eltype --- src/GroupRings.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 6fb6f32..1b1e1f4 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -76,7 +76,7 @@ export GroupRing, GroupRingElem, complete!, create_pm, star elem_type(::Type{GroupRing}) = GroupRingElem -eltype(X::GroupRingElem) = eltype(X.coeffs) +eltype(::Type{GroupRingElem{T, A, Gr}}) where {T, A, Gr} = T parent(g::GroupRingElem) = g.parent