mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-11-14 21:25:28 +01:00
fix: parent_type, elem_type dispatch after type!
This commit is contained in:
parent
14e9a8505c
commit
2c4a7561c4
@ -77,9 +77,8 @@ export GroupRing, GroupRingElem, complete!, create_pm, star
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
elem_type(::GroupRing) = GroupRingElem
|
||||
elem_type(::Type{GroupRing}) = GroupRingElem
|
||||
|
||||
parent_type(::GroupRingElem) = GroupRing
|
||||
parent_type(::Type{GroupRingElem}) = GroupRing
|
||||
|
||||
eltype(X::GroupRingElem) = eltype(X.coeffs)
|
||||
|
Loading…
Reference in New Issue
Block a user