Can someone make a trac ticket for this please?
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
On 25 Jul 2016 17:03, "leif" <not.r...@online.de> wrote:
>
> Jeroen Demeyer wrote:
> > On 2016-07-25 13:07, John Cremona wrote:
> >> Can someone make a trac ticket for this please?
> >
> > Done: https://trac.sagemath.org/ticket/21092
>
> Ooops, race condition (I did look at the trac timeline!).
>
> On behalf of John (Forgot your password?):
No just away from home with only a phone.
>
> https://trac.sagemath.org/ticket/21093
>
>
>
> -leif
R.<x,y,z> = QQ[]
T = EllipticCurve_from_cubic(y^2*z - x^3 - z^3, (0,1,0))
--- a/src/sage/schemes/elliptic_curves/constructor.py
+++ b/src/sage/schemes/elliptic_curves/constructor.py
@@ -1127,6 +1127,8 @@ def projective_point(p):
p_lcm = LCM_list([x.denominator() for x in p])
except AttributeError:
return p
+ if p_gcd == 0:
+ return p
scale = p_lcm / p_gcd
return [scale * x for x in p]
This change may be undesirable for other reasons, though.
Robin
I think that an error should be raised if the projective point constructor is called with (0,0,0).
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/ywH31HkRo7g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.