This fixes the problem in a non-superficial way, but there is an underlying 
issue of how best to order/process args to get the best simplification in 
combsimp.

You can merge this Pull Request by running:

  git pull https://github.com/smichr/sympy combsimp

Or you can view, comment on it, or merge it online at:

  https://github.com/sympy/sympy/pull/1462

-- Commit Summary --

* _sorted_args defined for Add, Mul, Atom
* randomization: combsimp

-- File Changes --

M sympy/core/add.py (5)
M sympy/core/basic.py (8)
M sympy/core/mul.py (7)
M sympy/core/tests/test_basic.py (2)
M sympy/simplify/simplify.py (35)
M sympy/simplify/tests/test_simplify.py (2)

-- Patch Links --

  https://github.com/sympy/sympy/pull/1462.patch
  https://github.com/sympy/sympy/pull/1462.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1462

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


Reply via email to