Hi Sympy lovers,
I've noticed that operation on 'bool' and 'Symbol' is not supported,
whereas the reverse is supported:
>>> x = Symbol('x')
>>> x ^ True
Not(x)
>>> True ^ x
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-21-9e1650b0b5d3> in <module>()
----> 1 True ^ x
TypeError: unsupported operand type(s) for ^: 'bool' and 'Symbol'
But, for my present purpose I need that part also. How can I do that? Is
this a kind of bug?
Regards.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.