summaryrefslogtreecommitdiffstats
path: root/sort.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sort.scm')
-rw-r--r--sort.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/sort.scm b/sort.scm
index ab9b938..5312109 100644
--- a/sort.scm
+++ b/sort.scm
@@ -22,8 +22,8 @@
#t
(do ((i 1 (+ i 1)))
((or (= i n)
- (less? (vector-ref seq (- i 1))
- (vector-ref seq i)))
+ (less? (vector-ref seq i)
+ (vector-ref seq (- i 1))))
(= i n)) )) ))
(else
(let loop ((last (car seq)) (next (cdr seq)))