Skip to content

Commit

Permalink
Fix when calling without key.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Tavares committed Mar 15, 2012
1 parent 4a9d2f4 commit 7d8f17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion insertion-sort.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
(let ((end (length sequence)))
(if key
(sort-dispatch insertion-sort-body predicate sequence key 0 end)
(sort-dispatch insertion-sort-body predicate sequence key 0 end))
(sort-dispatch insertion-sort-body predicate sequence nil 0 end))
sequence))

0 comments on commit 7d8f17d

Please sign in to comment.