Mercurial > octave
diff libinterp/octave-value/ov-base.h @ 23588:0549061d35b9
maint: Deprecate is_sorted and replace with issorted.
* ov.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* ov.h (issorted): New function.
* Array.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* Array.h (issorted): New function.
* Range.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* Range.h (issorted): New function.
* oct-sort.h (is_sorted): Use OCTAVE_DEPRECATED macro around function.
* oct-sort.h (issorted): New function.
* data.cc, __ode15__.cc, ov-base-diag.h, ov-base-mat.h, ov-base-scalar.h,
ov-base-sparse.h, ov-base.cc, ov-base.h, ov-cell.cc, ov-cell.h, ov-lazy-idx.cc,
ov-lazy-idx.h, ov-perm.h, ov-range.h, ov-re-mat.cc, ov-re-mat.h, Array-d.cc,
Array-f.cc, Array.cc, Range.cc, oct-sort.cc:
Replace instances of is_sorted with issorted.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Jun 2017 12:43:42 -0700 |
parents | 0c468af9dc00 |
children | 63950abd2f81 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base.h Tue Jun 13 11:25:31 2017 -0700 +++ b/libinterp/octave-value/ov-base.h Tue Jun 13 12:43:42 2017 -0700 @@ -675,7 +675,7 @@ octave_idx_type dim = 0, sortmode mode = ASCENDING) const; - virtual sortmode is_sorted (sortmode mode = UNSORTED) const; + virtual sortmode issorted (sortmode mode = UNSORTED) const; virtual Array<octave_idx_type> sort_rows_idx (sortmode mode = ASCENDING) const;