#13538: AlgebraicExtensionFunctor should not make an assumption on the ordering
of
parameters
--------------------------------+-------------------------------------------
Reporter: saraedum | Owner: nthiery
Type: defect | Status: new
Priority: trivial | Milestone: sage-5.4
Component: categories | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Julian Rueth | Merged in:
Dependencies: | Stopgaps:
--------------------------------+-------------------------------------------
Description changed by saraedum:
Old description:
> Currently, {{{AlgebraicExtensionFunctor}}} assumes that the
> {{{.extension()}}} function of a field takes the generators' names as the
> second argument. This is not always the case:
>
> {{{
> sage: K = Qp(3,3)
> sage: R.<a> = K[]
> sage: AEF = sage.categories.pushout.AlgebraicExtensionFunctor([a^2-3],
> ['a'], [None])
> sage: AEF(K)
> }}}
>
> The attached patch resolves this problem.
New description:
Currently, {{{AlgebraicExtensionFunctor}}} assumes that the
{{{.extension()}}} function of a field takes the generators' names as the
second argument. This is not always the case:
{{{
sage: K = Qp(3,3)
sage: R.<a> = K[]
sage: AEF = sage.categories.pushout.AlgebraicExtensionFunctor([a^2-3],
['a'], [None])
sage: AEF(K)
ValueError: must specify name of generator of extension
}}}
The attached patch resolves this problem.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13538#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.