Mercurial > octave
changeset 9363:da465c405d84
fix small defect in oct_sort::lookup
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Fri, 19 Jun 2009 07:29:19 +0200 |
parents | 2ebf3ca62add |
children | 6c255e51ef7e |
files | liboctave/oct-sort.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/oct-sort.cc Thu Jun 18 15:06:35 2009 +0200 +++ b/liboctave/oct-sort.cc Fri Jun 19 07:29:19 2009 +0200 @@ -1903,7 +1903,7 @@ // Determine a sorted run. for (vhi = vlo + 1; vhi != nvalues; vhi++) { - if (! comp (values[vhi-1], values[vhi])) + if (comp (values[vhi], values[vhi-1])) break; }