Issue 2462 in sympy: gcd_terms coeff absorbed

Showing 1-2 of 2 messages
Issue 2462 in sympy: gcd_terms coeff absorbed sy...@googlecode.com 6/8/11 8:17 AM
Status: Accepted
Owner: smi...@gmail.com
Labels: Type-Defect Priority-Medium NeedsReview smichr

New issue 2462 by smi...@gmail.com: gcd_terms coeff absorbed
http://code.google.com/p/sympy/issues/detail?id=2462

The "2 arg mul" behavior reabsorbs constants extracted from an Add so

     >>> gcd_terms(2+2*x)
     2*x + 2

Changes of https://github.com/sympy/sympy/pull/395 return 2*(x + 1) for the  
above expression.

Re: Issue 2462 in sympy: gcd_terms coeff absorbed sy...@googlecode.com 3/21/12 2:11 AM
Updates:
        Status: Fixed

Comment #2 on issue 2462 by smi...@gmail.com: gcd_terms coeff absorbed
http://code.google.com/p/sympy/issues/detail?id=2462

     >>> gcd_terms(2+2*x)
     2*(x + 1)