#5204: simon_two_descent -- bug in the interface when number field has variable
name 'x'
---------------------------+------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.1
Component: number theory | Keywords:
---------------------------+------------------------------------------------
1. A basic bug in the wrapper, which is probably easy to fix:
{{{
sage: E = EllipticCurve('8320e1').change_ring(QuadraticField(-191,'x'))
sage: E.simon_two_descent()
Traceback (most recent call last):
...
---> 98 ans = sage_eval(v, {'Mod': _gp_mod, 'y': K.gen(0)})
NameError: name 'ans' is not defined
}}}
The problem is my choice of 'x' as generator name for the number field.
The fix is to always change the variable of the base number field to 'a'
before feeding anything to pari.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5204>
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
-~----------~----~----~----~------~----~------~--~---