Yes, 1/(x + y) is not a polynomial, or at least not any any variables that it can guess at. So that exception is correct.
Aaron Meurer On Tue, Jun 25, 2013 at 2:35 AM, Sébastien Boisgérault <[email protected]> wrote: > Aaron, > > I installed sympy from the git repository. > > The same call > > poly(1/(x+y), z, domain="EX") > > now generates a: > > sympy.polys.polyerrors.GeneratorsError: you have to provide generators > because EX domain was requested > > But > > Poly(1/(x+y), z, domain="EX") > > works fine (it's probably what I should have done from the start). > > Thanks for the help. > > SB > > > > > > Le lundi 24 juin 2013 11:29:55 UTC+2, Sébastien Boisgérault a écrit : >> >> Hi all, >> >> >> With symbols x, y and z imported from sympy.abc, the call >> >> >>> poly(1/(x+y), z, domain="EX") >> >> generates a ValueError, while on the other hand, definitions like >> >> >>> poly(1/x, z, domain="EX") >> >> and even >> >> >>> poly(1/(sqrt(x+y)), z, domain="EX") >> >> are just fine. >> >> Is it a known issue (I am using sympy version 0.7.1.rc1) ? >> >> Am I missing something obvious ? >> >> >> Cheers, >> >> SB > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
