#5346: Sage 3.3: schemes/elliptic_curves/ell_rational_field.py fails to doctest
with optional database installed
---------------------------+------------------------------------------------
Reporter: mabshoff | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.2
Component: number theory | Keywords:
---------------------------+------------------------------------------------
Comment(by cremona):
Replying to [comment:2 GeorgSWeber]:
> For the record:
>
> The optional database covers conductor ranges from 10000 to 130000
AFAIK. So an obviously working patch (to be tested ...) already discussed
elsewhere (I don't remember exactly who had this idea first, it wasn't me)
would be to exchange the curve with conductor 10351 in the doctest, with a
curve having conductor bigger than 130000.
I agree, and suggest
{{{
sage: E = EllipticCurve([1, -1, 0, -79, 289])
sage: E.cremona_label()
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
/home/john/.sage/temp/ubuntu/1126/_home_john__sage_init_sage_0.py in
<module>()
/home/john/sage-3.4/local/lib/python2.5/site-
packages/sage/schemes/elliptic_curves/ell_rational_field.pyc in
cremona_label(self, space)
3034 X = self.database_curve()
3035 except RuntimeError:
-> 3036 raise RuntimeError, "Cremona label not known for
%s."%self
3037 self.__cremona_label = X.__cremona_label
3038 return self.cremona_label(space)
RuntimeError: Cremona label not known for Elliptic Curve defined by y^2 +
x*y = x^3 - x^2 - 79*x + 289 over Rational Field.
}}}
as that curve will one day have label 234446a1 (or b1 or c1, I forget).
>
> Cheers,
> gsw
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5346#comment:3>
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
-~----------~----~----~----~------~----~------~--~---