Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 1467 by smichr: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467
Sorting can be done with real and imaginary numbers, but if the imaginary portion is in a radical, the sort fails. Is there any remedy? ### >>> sorted([3,sqrt(I)]) Traceback (most recent call last): File "<interactive input>", line 1, in <module> TypeError: __nonzero__ should return bool or int, returned StrictInequality ### /c -- 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 -~----------~----~----~----~------~----~------~--~---