Re: Issue 2064 in sympy: terms_gcd(sqrt(4 + 4*x)) doesn't give 2*sqrt(1 + x)

2012-03-06 Thread sympy
Updates: Status: Fixed Comment #3 on issue 2064 by smi...@gmail.com: terms_gcd(sqrt(4 + 4*x)) doesn't give 2*sqrt(1 + x) http://code.google.com/p/sympy/issues/detail?id=2064 terms_gcd is meant to only deal with gcd on each term, not within terms. The gcd_terms function does the

Re: Issue 2064 in sympy: terms_gcd(sqrt(4 + 4*x)) doesn't give 2*sqrt(1 + x)

2011-11-18 Thread sympy
Comment #2 on issue 2064 by smi...@gmail.com: terms_gcd(sqrt(4 + 4*x)) doesn't give 2*sqrt(1 + x) http://code.google.com/p/sympy/issues/detail?id=2064 There is a version with a similar name that is expr-based that lives in core.exprtools. I've modified that and made a more general

Issue 2064 in sympy: terms_gcd(sqrt(4 + 4*x)) doesn't give 2*sqrt(1 + x)

2010-09-24 Thread sympy
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