Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2177 by [email protected]: Subs for noncommutative symbols gives wrong results
http://code.google.com/p/sympy/issues/detail?id=2177

Im having trouble with subs for noncommutative symbols, both with sympy 0.6.7 as well as the latest git version. Subs seems to give the wrong results in certain situations where the symbols are noncommutative, e.g. in the following case:


import sympy

a, b, c = sympy.symbols('a b c', commutative = False)
#a, b, c = sympy.symbols('a b c', commutative = True)

x = a**2*b**2
print x.subs(a*b**2, c)


(compare the difference when the symbols are commutative and noncommutative)


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