[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54599] issorted yields an error for the empty
From: |
Grzegorz |
Subject: |
[Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector |
Date: |
Thu, 30 Aug 2018 12:31:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
URL:
<http://savannah.gnu.org/bugs/?54599>
Summary: issorted yields an error for the empty vector
Project: GNU Octave
Submitted by: gdudziuk
Submitted on: Thu 30 Aug 2018 04:31:51 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.2
Operating System: GNU/Linux
_______________________________________________________
Details:
Input:
issorted([])
Output:
error: issorted: needs a vector
-varbatim-
It appears to me as "an error message for valid input", so I figure it is a
bug. I would expect the result to be TRUE, as in Matlab. Even if Octave had
reasons to depart from the latter convention, I would expect issorted to
accept the empty vector.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54599>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector,
Grzegorz <=
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector, Grzegorz, 2018/08/30
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector, Philip Nienhuis, 2018/08/31
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector, Philip Nienhuis, 2018/08/31
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector, Philip Nienhuis, 2018/08/31
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector, Philip Nienhuis, 2018/08/31
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector, Philip Nienhuis, 2018/08/31
- [Octave-bug-tracker] [bug #54599] issorted yields an error for the empty vector, Mike Miller, 2018/08/31