Comment #2 on issue 2022 by julien.rioux: inconsistent behaviour of subs when using non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=2022

Further problems:

In [1]: a,b,c=symbols('abc',commutative=False)

In [2]: (a*a*a+a*b*a).subs(a*a*a,c)
Out[2]: 2*c

In [3]: (a*(a+b)*a).subs(a*a*a,c)
Out[3]: c

Expected[2] and [3]: c+a*b*a

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to