On Tue, Sep 8, 2009 at 8:57 AM, J. Cooley<j.a.coo...@warwick.ac.uk> wrote: > > I am new to developing Sage, so sorry if I am missing something minor. > > I am trying to use a polynomial in X as the kernel, with > R = PolynomialRing(Qt,'X') > X = R.gen() > > The error I'm getting is: > TypeError: unsupported operand parent(s) for '+': 'Multivariate > Polynomial Ring in x, y over Rational Field' and 'Fraction Field of > Univariate Polynomial Ring in t over Rational Field'
Could you give a complete simple example that one could paste into a fresh Sage session to replicate the problem? Thanks! > > which is something to do with line 1816 of ell_curve_isogeny.py where > two things are added together. > > I think that the kernel I am trying to input is of type <class > 'sage.rings.polynomial.polynomial_element_generic.Polynomial_generic_dense_field'> > > and it's parent is > Univariate Polynomial Ring in X over Fraction Field of Univariate > Polynomial Ring in t over Rational Field > > but I don't really know what it needs to be, or how to change it. > > Please help! > Thanks, > Jenny > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---