[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56087] issorted docstring needs update (optio
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #56087] issorted docstring needs update (option of "ascend" or "descend") |
Date: |
Sat, 6 Apr 2019 08:30:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<https://savannah.gnu.org/bugs/?56087>
Summary: issorted docstring needs update (option of "ascend"
or "descend")
Project: GNU Octave
Submitted by: None
Submitted on: Sat 06 Apr 2019 12:30:10 PM UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Any
_______________________________________________________
Details:
The issorted function now uses a direction option of "ascend" or "descend"
instead of "ascending" and "descending".
( bug #54147
changeset http://hg.savannah.gnu.org/hgweb/octave/rev/b7db401e1a99 )
But the docstring is still old. Here is a patch:
--- a/libinterp/corefcn/data.cc
+++ b/libinterp/corefcn/data.cc
@@ -6863,10 +6863,9 @@
@deftypefnx {} {} issorted (@var{a}, @var{mode})
@deftypefnx {} {} issorted (@var{a}, "rows", @var{mode})
Return true if the array is sorted according to @var{mode}, which
-may be either @qcode{"ascending"}, @qcode{"descending"}, or
address@hidden"either"}.
+may be either @qcode{"ascend"}, @qcode{"descend"}, or @qcode{"either"}.
-By default, @var{mode} is @qcode{"ascending"}. NaNs are treated in the
+By default, @var{mode} is @qcode{"ascend"}. NaNs are treated in the
same manner as @code{sort}.
If the optional argument @qcode{"rows"} is supplied, check whether
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56087>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56087] issorted docstring needs update (option of "ascend" or "descend"),
anonymous <=