|
From: | Michael Godfrey |
Subject: | [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator |
Date: | Thu, 13 Aug 2015 10:20:43 +0000 |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2478.0 Safari/537.36 |
Follow-up Comment #8, bug #45739 (project octave): I looked at liboctave/array/Range.cc. The implementation has substantial subtleties so implementing the change of the limit value will need some care and testing. It appears that John is the original author so I will point out this problem to him. The alternative of having sort test for a type range argument is still a possibility. However, note that passing a range, which must have uniformly increasing or decreasing increments, to sort is not something that makes much sense. Sort will either return the original input of fliplr of the input. Is there any construct such that passing a type range to sort does something useful? _______________________________________________________ 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] |