id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
9266 bug in global_integral_model for Elliptic Curves over Number Fields wuthrich John Cremona "The following illustrates the bug. It should be easy to fix.
{{{
sage: K.~~ = NumberField(x^2-5)
sage: w = (1+s)/2
sage: E = EllipticCurve(K,[2,w])
sage: E.global_integral_model()
...sage/schemes/elliptic_curves/ell_number_field.pyc in global_integral_model(self)
377 ai = [ai[i]/pi**(e*[1,2,3,4,6][i]) for i in range(5)]
378 for z in ai:
--> 379 assert z.denominator() == 1, ""bug in global_integral_model: %s"" % ai
380 return EllipticCurve(list(ai))
381
TypeError: not all arguments converted during string formatting
}}}
So there are two problems. One that the string is not correctly formatted, the other that it is raised. The latter, I believe, is just because the wrong thing is tested:
{{{
sage: w.denominator()
2
sage: w.is_integral()
True
}}}
" defect closed minor sage-4.5.2 elliptic curves fixed sage-4.5.2.alpha0 Chris Wuthrich John Cremona N/A
~~