|
From: | Juan Pablo Carbajal |
Subject: | [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator |
Date: | Wed, 12 Aug 2015 12:14:56 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36 |
Follow-up Comment #1, bug #45739 (project octave): Verified in developer branch under Ubuntu as well. The problem arises when the last element of the array is not part of the array. Example: > a=1:2:9 a = 1 3 5 7 9 > sort(a,'descend') ans = 9 7 5 3 1 > a=1:2:10 a = 1 3 5 7 9 > sort(a,'descend') ans = 10 8 6 4 2 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45739> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |