[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors c
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator |
Date: |
Fri, 14 Aug 2015 02:54:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
Follow-up Comment #13, bug #45739 (project octave):
Michael, you said that passing a range to sort() isn't sensible as the range
is already sorted. The issue is when a function passes its input variable to
sort(), and that input happens to be a range.
I agree that fixing the constructor is the right approach. If it has side
effects, they are likely to be beneficial (i.e., fixing other bugs).
Out of interest, should fliplr return a range if the input is a range? That
should make it much faster, as Dieter points out.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45739>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, (continued)
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Dieter Schmidt, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Rik, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Rik, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Rik, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Dieter Schmidt, 2015/08/13
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator,
Lachlan Andrew <=
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/14
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/14
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, John W. Eaton, 2015/08/19
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/19
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Michael Godfrey, 2015/08/20
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Rik, 2015/08/20