Comment #2 on issue 2454 by [email protected]: Mul._eval_derivative should
use the quotient rule when possible
http://code.google.com/p/sympy/issues/detail?id=2454
You get a compact result in this case because both terms were linear.
Although we could watch for such cases, I'm not sure the extra work of
finding the numer and denom is worth it. What is it that you are looking
for?
BTW, a much more pressing issue was discovered while investigating this:
>>> d
2*x + 2
>>> gcd_terms(1+1/d**2)
(2*(x + 1)**2 + 1)/(2*(x + 1)**2)
That last result should have 2**2 rather than 2. Since gcd_terms is used by
together, this affects the results of together. And together is used by
simplify, so this affects anything that simplify touches.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.