#19452: Fix PolynomialSequence
-------------------------------------+-------------------------------------
Reporter: switzel | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.10
Component: algebra | Resolution:
Keywords: | Merged in:
Authors: Stefan Witzel | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/switzel/fix_polynomialsequence | 4621064e0a989606bec89df5991a50a0d702cb0b
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Old description:
> The constructor of PolynomialSequence treats coefficient rings of
> characteristic 2 specially when really it should treat finite fields
> of characteristic 2 specially. As a result
>
> PolynomialSequence(R, [])
>
> will fail when R.characteristic() == 2 but R.degree() is not defined.
> This happens in particular for infinite fields of characteristic 2.
>
> The fix is to check whether R is a finite field and treat it generically
> if not.
New description:
The constructor of `PolynomialSequence` treats coefficient rings of
characteristic 2 specially when really it should treat finite fields of
characteristic 2 specially. As a result
{{{
PolynomialSequence(R, [])
}}}
will fail when `R.characteristic() == 2` but `R.degree()` is not defined.
This happens in particular for infinite fields of characteristic 2.
The fix is to check whether R is a finite field and treat it generically
if not.
--
Comment (by vdelecroix):
(tiny fixes to the description)
--
Ticket URL: <http://trac.sagemath.org/ticket/19452#comment:4>
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.