#4302: [with patch, needs work] improve modular composition in GF(2)[x]
------------------------------+---------------------------------------------
Reporter: zimmerma | Owner: somebody
Type: task | Status: new
Priority: major | Milestone: sage-3.2
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by malb):
I fixed most doctest failures except one:
{{{
sage -t elliptic_curves/ell_generic.py
File "/home/malb/SAGE/tmp/ell_generic.py", line 2135:
sage: [ len(EllipticCurve(GF(q,'a')(0)).automorphisms()) for q in
[2,4,3,9,5,25,7,49]]
Exception raised:
...
TypeError: unsupported operand parent(s) for '-': 'Univariate Polynomial
Ring in x over Finite Field of size 2' and 'Finite Field of size 2'
}}}
My trouble is, that it works from the command line:
{{{
sage: [ len(EllipticCurve(GF(q,'a')(0)).automorphisms()) for q in
[2,4,3,9,5,25,7,49]]
[2, 24, 2, 12, 2, 6, 6, 6]
}}}
Robert, could that be related to some caching of coercion maps?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4302#comment:23>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---