#9413: Bug in tamagawa_product_bsd for elliptic curves over QQ
-------------------------------+--------------------------------------------
Reporter: davidloeffler | Owner: cremona
Type: defect | Status: new
Priority: minor | Milestone: sage-4.5
Component: elliptic curves | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
{{{
sage: E = EllipticCurve('30a')
sage: E.tamagawa_product_bsd()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/storage/masiao/sage-4.5.alpha1/devel/sage-
reviewing/sage/schemes/elliptic_curves/<ipython console> in <module>()
/storage/masiao/sage-4.5.alpha1/local/lib/python2.6/site-
packages/sage/schemes/elliptic_curves/ell_number_field.pyc in
tamagawa_product_bsd(self)
1144 # the differential associated to this particular
equation E
1145 uu = self.isomorphism_to(dav.minimal_model()).u
-> 1146 uu_abs_val =
pp.smallest_integer()**(pp.residue_class_degree()*valuation(uu,pp))
1147 pr *= cv * uu_abs_val
1148 return pr
/storage/masiao/sage-4.5.alpha1/local/lib/python2.6/site-
packages/sage/structure/element.so in
sage.structure.element.Element.__getattr__
(sage/structure/element.c:2632)()
/storage/masiao/sage-4.5.alpha1/local/lib/python2.6/site-
packages/sage/structure/parent.so in
sage.structure.parent.getattr_from_other_class
(sage/structure/parent.c:2835)()
/storage/masiao/sage-4.5.alpha1/local/lib/python2.6/site-
packages/sage/structure/parent.so in
sage.structure.parent.raise_attribute_error
(sage/structure/parent.c:2629)()
AttributeError: 'Ideal_pid' object has no attribute 'smallest_integer'
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9413>
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.