I'm recently upgrading sympy to sympy-0.7.1-py2.7 (fom a fairly old
version).

One surprising change that I've noticed so far is

>>> a = sympy.Symbol('a')
>>> a**1 == a
True
>>> a**1.0 == a
False

I'm not clear on the reasoning. Is there any way to get around this?
This results in very strange behavior like
>>> a**1.0/a
a**1.0/a

The only solution I've found so far is the following:
>>> (a**1.0/a).subs(a**1.0, a)
1

I did attempt to search for this in the message board and the open
issues, but I didn't find anything.

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