AsymptoticRingFunctor does not deal with derived classes
We should have
sage: from sage.rings.asymptotic.asymptotic_ring import AsymptoticRing
sage: class MyAsymptoticRing(AsymptoticRing):
....: pass
sage: A = MyAsymptoticRing(growth_group='x^ZZ', coefficient_ring=QQ)
sage: C = CyclotomicField(3)
sage: P = C['z']
sage: type(P(2) * A.gen())
<class '...MyAsymptoticRing_with_category.element_class'>
but the element returned is has type AsymptoticRing
(without the My
).
Change History (7)
Branch: |
→ u/dkrenn/asy-functor-derive-bug
|
Authors: |
→ Daniel Krenn
|
Cc: |
cheuberg behackl added
|
Commit: |
→ f6d4502607c8fa7f1d0e54f10d52aae6e61c2c64
|
Status: |
new →
needs_review
|
Branch: |
u/dkrenn/asy-functor-derive-bug →
u/cheuberg/asy-functor-derive-bug
|
Commit: |
f6d4502607c8fa7f1d0e54f10d52aae6e61c2c64 →
4dce6f5733ce2d0efa3e1e5cf3afbac279cb1686
|
Status: |
needs_review →
positive_review
|
Reviewers: |
→ Clemens Heuberger
|
Branch: |
u/cheuberg/asy-functor-derive-bug →
4dce6f5733ce2d0efa3e1e5cf3afbac279cb1686
|
Resolution: |
→ fixed
|
Status: |
positive_review →
closed
|
New commits:
Trac #22392: new parameter cls
Trac #22392: pass cls from AsymptoticRing.construction
Trac #22392: use new parameter cls
Trac #22392: adapt repr