Hello,

I have a question about == and Equal in sympy.

Their behavior is strange to me.

In [108]: expr = sympy.simplify('Equal(A,B)')
In [111]: expr.subs(dict(A=1, B=1))
Equal(1, 1)

In [112]: expr = sympy.simplify('A==B')
In [113]: expr
False

In [115]: A = sympy.Symbol('A')
In [116]: B = sympy.Symbol('B')

In [117]: A==B
False

In [118]: sympy.__version__
'0.7.1'

Any help would be appreciated,
Thanks,
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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?hl=en.

Reply via email to