Mercurial > hg > octave-lyh
diff liboctave/Sparse.h @ 7463:2467639bd8c0
eliminate UNDEFINED sort mode
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 08 Feb 2008 16:00:16 -0500 |
parents | 402168152bb9 |
children | ada435261879 |
line wrap: on
line diff
--- a/liboctave/Sparse.h +++ b/liboctave/Sparse.h @@ -518,9 +518,9 @@ octave_idx_type *mex_get_jc (void) const { return const_cast<octave_idx_type *> (cidx ()); } - Sparse<T> sort (octave_idx_type dim = 0, sortmode mode = UNDEFINED) const; + Sparse<T> sort (octave_idx_type dim = 0, sortmode mode = ASCENDING) const; Sparse<T> sort (Array<octave_idx_type> &sidx, octave_idx_type dim = 0, - sortmode mode = UNDEFINED) const; + sortmode mode = ASCENDING) const; }; // NOTE: these functions should be friends of the Sparse<T> class and