Skip to content

Commit

Permalink
Add key to make-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramarren committed Jul 13, 2009
1 parent cb9aae5 commit 74c9457
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bentley-ottmann.lisp
Expand Up @@ -89,7 +89,8 @@
(setf (edge-tree instance)
(trees:make-binary-tree :red-black
#'(lambda (lv rv)
(order-line-segments-at-point lv rv instance)))))
(order-line-segments-at-point lv rv instance))
:key #'identity)))

(defun insert-edge (edge sweep-line)
"Insert new edge into sweep-line, returns a cons of neighbouring edges."
Expand Down

0 comments on commit 74c9457

Please sign in to comment.