Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2014-02-02 Thread sympy
Updates: Status: Invalid Cc: asmeu...@gmail.com Comment #27 on issue 1467 by skirpic...@gmail.com: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 Closed. Ordering for complex doesn't make sense (see issue 2625) and for

Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2011-11-15 Thread sympy
Updates: Labels: -Milestone-Release0.7.2 Comment #26 on issue 1467 by vlada.pe...@gmail.com: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 What is the actual issue here? Obviously we cannot sort anything in the complex plane,

Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2011-06-05 Thread sympy
Comment #24 on issue 1467 by matt...@gmail.com: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 btw. For sorting expressions we have sort_key, e.g.: In [1]: sorted([3, -I, I, 2 + I], key=lambda expr: sympify(expr).sort_key()) Out[1]: [3,

Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2011-01-06 Thread sympy
Updates: Labels: -Milestone-Release0.7.0 Milestone-Release0.7.1 Comment #23 on issue 1467 by asmeurer: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 (No comment was entered for this change.) -- You received this message because

Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-12-02 Thread sympy
Updates: Labels: -NeedsReview NeedsBetterPatch Comment #21 on issue 1467 by Vinzent.Steinberg: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 I think Ondrej was not fine with the current patch due to performance implications. --

Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-11-08 Thread codesite-noreply
Comment #20 on issue 1467 by Vinzent.Steinberg: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 In my opinion, comparison (and sorting) of non-reals should fail. For canonical sorting we should create our own function. Something like:

Re: Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-11-07 Thread codesite-noreply
Comment #17 on issue 1467 by smichr: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 The original issue no longer causes a problem in the master branch...not sure what fixed it. ### C:\DOCUME~2\chris\sympy\sympy\python26\python.exe

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-08-10 Thread codesite-noreply
Comment #14 on issue 1467 by smichr: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 We chatted about this on irc and in light of their not being a well defined comparison test for a real and imaginary that it should be removed so

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-08-06 Thread codesite-noreply
Comment #11 on issue 1467 by smichr: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 Ted, regarding the underlying issues: I.is_comparable is False because I derives from Atom, not NumberSymbol. If you change it to be comparable then

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-16 Thread codesite-noreply
Comment #7 on issue 1467 by ted.ho...@earthlink.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 OK, here is a patch for Inequality and StrictInequality with some tests. I think this takes care of the symptom, but there are still

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-16 Thread codesite-noreply
Comment #8 on issue 1467 by ted.ho...@earthlink.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 Oops, here is the actual patch... Attachments: 1467g.patch 2.9 KB -- You received this message because you are listed in the

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-16 Thread codesite-noreply
Updates: Labels: -NeedsBetterPatch NeedsReview Comment #9 on issue 1467 by ondrej.certik: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 (No comment was entered for this change.) -- You received this message because you are

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-15 Thread codesite-noreply
Comment #5 on issue 1467 by fab...@fseoane.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 Patch is nice and makes sense. I don't like however that we are resorting to __nonzero__ when ordering should be done in __cmp__, but I

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-15 Thread codesite-noreply
Updates: Status: Started Labels: -NeedsReview NeedsBetterPatch Comment #6 on issue 1467 by fab...@fseoane.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 BTW, at some time we should rename all those __nonzero__ methods

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-07-13 Thread codesite-noreply
Comment #3 on issue 1467 by ted.ho...@earthlink.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 Here is a small patch that seems to fix the immediate issue. I don't know how these inequalities are supposed to fit together, so this

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-06-10 Thread codesite-noreply
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

Issue 1467 in sympy: sorting values with imaginary numbers in radical

2009-06-10 Thread codesite-noreply
Updates: Labels: Milestone-Release0.6.5 Comment #1 on issue 1467 by ondrej.certik: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467 Not sure at the moment, but this seems like a bug to me. -- You received this message because you