Issue 2462 in sympy: gcd_terms coeff absorbed

0 views
Skip to first unread message

sy...@googlecode.com

unread,
Jun 8, 2011, 11:17:24 AM6/8/11
to sympy-...@googlegroups.com
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.

sy...@googlecode.com

unread,
Mar 21, 2012, 5:11:20 AM3/21/12
to sympy-...@googlegroups.com
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)

Reply all
Reply to author
Forward
0 new messages