The handling of coefficients has been simplified so that they are converted to a power like other factors in the expression.
You can merge this Pull Request by running: git pull https://github.com/smichr/sympy mul_subs Or you can view, comment on it, or merge it online at: https://github.com/sympy/sympy/pull/1453 -- Commit Summary -- * bugfix: Mul._eval_subs handles coefficients better -- File Changes -- M sympy/core/mul.py (18) M sympy/core/tests/test_subs.py (4) -- Patch Links -- https://github.com/sympy/sympy/pull/1453.patch https://github.com/sympy/sympy/pull/1453.diff --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1453 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.