Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 1595 by mattpap: LambertW(-number) and sorted don't cooperate http://code.google.com/p/sympy/issues/detail?id=1595
I'm now porting SymPy to work with new polynomials. Here is one of bugs I found: In [35]: sorted([LambertW(-10), log(2)]) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/matt/repo/git/sympy/<ipython console> in <module>() TypeError: __nonzero__ should return bool or int, returned StrictInequality In [36]: sorted([LambertW(10), log(2)]) Out[36]: [log(2), LambertW(10)] -- 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 [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 -~----------~----~----~----~------~----~------~--~---
