Comment #34 on issue 1695 by mag...@rabic.org: integral of a piecewise  
function gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695

Started to fix broken code, but there are some issues (maybe related) I  
don't even
know how

1. sorted does not seem to work anymore:
In [4]: sorted([S.One, x, y])
Out[4]: [1, x, y]

In [5]: sorted([S.One, y, x])
Out[5]: [1, y, x]

2. There is a problem with Equivalent():

In [6]: from sympy.logic.boolalg import Equivalent

In [7]: Equivalent(A, B) == Equivalent(B, A)
Out[7]: False


I guess these are either due to changes to the solver or to the relational  
code, but
I am unable to catch them.

With the relational code I am not at all confident. The point was to  
compute boolean
value for expressions like And(3<2,4>=3), and I don't know whether it is  
the Right Way.




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to