Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graph.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ through to guide the A* search used in `shortest-path'.")
(rest (remove (car a) (nodes g))))
(loop :while rest :do
;; grow A by adding the node most tightly connected to A
(let ((new (car (sort rest #'> :key {connection-weight a}))))
(let ((new (extremum rest #'> :key {connection-weight a})))
(setf rest (remove new rest))
(push new a)))
;; store the cut-of-phase
Expand Down