[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65616] complex sorting should be only for com
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #65616] complex sorting should be only for complex numbers |
Date: |
Sat, 20 Apr 2024 16:10:50 -0400 (EDT) |
Follow-up Comment #2, bug #65616 (group octave):
>> sort ([1 0 -1], 2)
ans =
-1 0 1
>> sort ([1 0 -1; 0 1+0.001i -1], 2)
ans =
0 + 0i 1.0000 + 0i -1.0000 + 0i
0 + 0i -1.0000 + 0i 1.0000 + 0.0010i
First row changes from [-1 0 +1] to [0 +1 -1] because of unrelated second row
though first row is not even complex.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65616>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/