[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors c
From: |
Michael Godfrey |
Subject: |
[Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator |
Date: |
Wed, 12 Aug 2015 14:24:29 +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 #5, bug #45739 (project octave):
Dieter: First, we are all "just users" so do not
worry about that.
Generally, Octave trys to be Matlab-compatible.
The exceptions are cases where an Octave feature
provides sufficient user benefits (that is for you) to
outweigh the value of compatibility.
In this case, as I said, the obvious choice is to modify
sort to convert a range variable to matrix, and thus
work as expected and provide Matlab compatibility.
Thanks for reporting this bug, and you are welcome to
submit a patch which fixes it. The sort function code
is in libinterp/corefcn/data.cc, so C skills are needed
to correct it.
_______________________________________________________
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, Dieter Schmidt, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Juan Pablo Carbajal, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator, Juan Pablo Carbajal, 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, Dieter Schmidt, 2015/08/12
- [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator,
Michael Godfrey <=
- [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, 2015/08/13
- [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