projects
/
cl-graph.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for rootp from Willem Rein Oudshoorn (thank you)
[cl-graph.git]
/
dev
/
graph.lisp
diff --git
a/dev/graph.lisp
b/dev/graph.lisp
index
96ad209
..
6df7ec3
100644
(file)
--- a/
dev/graph.lisp
+++ b/
dev/graph.lisp
@@
-646,7
+646,7
@@
something is putting something on the vertexes plist's
(defmethod rootp ((vertex basic-vertex))
;;?? this is inefficient in the same way that (zerop (length <list>)) is...
(defmethod rootp ((vertex basic-vertex))
;;?? this is inefficient in the same way that (zerop (length <list>)) is...
- (zerop (source-edge-count vertex)))
+ (zerop (target-edge-count vertex)))
(defmethod find-vertex-if ((graph basic-graph) fn &key key)
(defmethod find-vertex-if ((graph basic-graph) fn &key key)