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

New issue 2820 by [email protected]: expand() doesn't work in the denominator
http://code.google.com/p/sympy/issues/detail?id=2820

Quoting Bastian Weber from the mailing list:

Hello,


I just got some results that I belive not beeing expected by the average user:


In [6]: x = 1/(b*(1/b - b))
In [7]: x.expand()
Out[7]: 1/(b*(-b + 1/b))


I would have expexted

1/(1-b**2) or something like this.


However, if I enter the denominator separately I get the expected result:

In [9]: y = b*(1/b - b)
In [10]: y.expand()
Out[10]: -b**2 + 1


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