Bug in solve including commutative and non-commutative symbols

9 views
Skip to first unread message

j.gont...@gmail.com

unread,
Apr 23, 2015, 1:45:10 PM4/23/15
to sy...@googlegroups.com
The simplest example I could think if is:

>>> a = symbols('a',commutative=True)
>>> c = symbols('c', commutative=False)
>>> solve(a-c,a)
[]

which returns an empty list. If both symbols have commutative=True or both have commutative=False, the correct solution [c] is returned.

Is there anything I am doing wrong here ?
Reply all
Reply to author
Forward
0 new messages