#14982: When a parent is equipped with an embedding, consider coercions that
don't
go through the embedding
-------------------------------------+-------------------------------------
Reporter: mmezzarobba | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: coercion | Resolution:
Keywords: embedding | Merged in:
Authors: Marc Mezzarobba | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mmezzarobba/14982-coerce_embeddings|
4b55415e1dd476e6010fb82b174d5fa455f963bd
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
Replying to [comment:44 mmezzarobba]:
> Replying to [comment:43 vdelecroix]:
> > The hack for quadratic number field is horrible...
>
> You are the one who introduced it, aren't you? `;-)` So I guess you
understand what it is for better than I do. In any case I just tested the
change you suggested (on top of my branch + the current master) and it
doesn't seem to break anything.
I am ;-(. Thanks for fixing it! I really do not like the loop here:
coercion needs an element, but the elements need to know coercion...
(certainly out of the scope of the ticket).
I fixed the `q_binomial` issue (see the commit on top `public/14982`,
WARNING: it is merged with 6.7.beta2). If you like it just cherry-pick it
on top of your branch. Otherwise, I will open a new ticket. I actually
found another bug:
{{{
sage: Sym = SymmetricFunctions(QQ)
sage: s = Sym.schur()
sage: 1 - s[2]
s[] - s[2]
sage: 1r - s[2]
Traceback (most recent call last):
...
TypeError: unsupported operand type(s) for -: 'int' and
'SymmetricFunctionAlgebra_schur_with_category.element_class'
}}}
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/14982#comment:46>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.