projects
/
trees.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0b095e2
)
Merge branch 'master' of github.com:froydnj/trees
master
author
Nathan Froyd
<froydnj@gmail.com>
Wed, 23 May 2012 11:54:51 +0000
(07:54 -0400)
committer
Nathan Froyd
<froydnj@gmail.com>
Wed, 23 May 2012 11:54:51 +0000
(07:54 -0400)
binary-trees.lisp
patch
|
blob
|
history
diff --git
a/binary-trees.lisp
b/binary-trees.lisp
index
bccc1b6
..
46351f7
100644
(file)
--- a/
binary-trees.lisp
+++ b/
binary-trees.lisp
@@
-57,7
+57,7
@@
(let ((node-key (funcall key (datum node))))
(cond
((funcall test node-key item-key)
- (return-from find-insertion-point (values node direction-stack item-key)))
+ (return-from find-insertion-point (values node direction-stack node-key)))
((funcall pred item-key node-key)
(push (cons node 'left) direction-stack)
(setf node (left node)))