On Friday, May 30, 2014 7:57:34 AM UTC-7, Peter Mueller wrote:
>
> However, E(x,1) fails with an intimidating traceback, with the last line 
> being
>
(Intimidating but extremely informative)

AttributeError: 'FunctionField_polymod_with_category' object has no 
> attribute 'parent'
>
> Am I doing something wrong, or is there a bug in a very basic function?
>

I'd say a bug in an untested, not-so-basic combination of functionalities. 
It's a bug nonetheless, so thanks for reporting! It's a sad reality, but 
you should expect these things to happen when you're trying out new things 
in computer algebra systems. You should report the bug on trac (see 
http://trac.sagemath.org/) otherwise it will get lost. If you can't or 
don't want to please indicate it here. Hopefully someone else steps in to 
report it for you.

It may be a while until someone gets to fixing it (you could try yourself, 
but it looks to me this one's pretty deep down in the implementation of 
function fields). In the mean time, you can get around the problem by 
building your field a bit differently:

P.<X,n>=QQ[]
R.<x,n>=P.quo(X^3+n-1)
K=R.fraction_field()
E=EllipticCurve(K,[0,K(n)])
E([x,1])

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to