Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium

New issue 2064 by smichr: terms_gcd(sqrt(4 + 4*x)) doesn't give 2*sqrt(1 + x)
http://code.google.com/p/sympy/issues/detail?id=2064

Although terms_gcd(0) gives 0 in polys11 rather than nan, the 2 from sqrt(4 + 4*x) is not pulled out in master or polys11. Perhaps this is because a Rational is not expected from inside a root. If the gcd is removed, the rational portion of it's root (if there is a rational portion) could be extracted from the power.

Or perhaps there is an option flag that I should be using to do this?

--
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.

Reply via email to