Mercurial > octave
comparison CITATION @ 31949:1dba35103327
perms.cc: Resequenced output for compatibility (bug #50426)
Previously, perms() was returning results in reverse lexicographic order.
For compatibility, it is required to do that only for inputs in ascending
order. Other inputs carry over that permutation to the results as well. This
edit changes the sort order, changes the docs, and fixes some BISTs to match.
Co-author: "Hendrik Koerner <koerhen@web.de>"
in https://savannah.gnu.org/bugs/index.php?63962#comment18
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Fri, 31 Mar 2023 14:36:03 -0400 |
parents | 74aa32d5fd08 |
children | fdadf31961bb |
comparison
equal
deleted
inserted
replaced
31947:89850bb5eb31 | 31949:1dba35103327 |
---|