Looks like the issue comes from as_numer_denom. I opened https://github.com/sympy/sympy/issues/14622 for this.
Aaron Meurer On Thu, Apr 12, 2018 at 8:03 AM, <[email protected]> wrote: > To factor/simplify each term, the best way appears to be to use collect and > pass the simplification function as an argument. So I can use the following > syntax: > > spy.collect((n-EY).series(N,x0 = spy.oo).removeO(),N, spy.factor) > > It would be really nice if sympy can support collect() as a member function > of expression objects. Only the part about a possible bug in > sympy.simplify() stands. > > -- > 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 https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/a79426c5-ff10-454b-b79a-f5381d9fbcc7%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6Jt_-NNHEfM3BtfjLSk2vZFaSsmyvnaKk9-YnE0W2Koig%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
