Re: [sympy] Re: Possible bug in simplify() and a question

2018-04-12 Thread Aaron Meurer
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, wrote: > To factor/simplify each term, the best way appears to be to use collect and > pass the simplification

[sympy] Re: Possible bug in simplify() and a question

2018-04-12 Thread divakar
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

[sympy] Re: Possible bug in simplify() and a question

2018-04-12 Thread divakar
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) Only the part about a possible bug in sympy.simplify() stands. On