Permalink
Browse files

fixing argument order bug in filter-edges

  • Loading branch information...
1 parent b7719e1 commit 2f4c909b8c01f543e04e1c0a2d6c81331dfee62a @rosejn rosejn committed Jun 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jiraph/graph.clj
View
@@ -52,7 +52,7 @@
(filter-keys-by-val pred (edges node)))
(defn filter-edges [pred node]
- (select-keys (edges node) (filter-edge-ids node pred)))
+ (select-keys (edges node) (filter-edge-ids pred node)))
(defmacro with-each-layer
"Execute forms with layer bound to each layer specified or all layers if layers is empty."
@@ -329,4 +329,4 @@
"Wrap the given function with the current graph context."
[f]
(useful/wrap-bindings [#'get-node #'get-incoming #'get-revisions #'get-all-revisions
- #'*graph* #'*verbose* #'*use-outer-cache* #'retro/*revision*] f))
+ #'*graph* #'*verbose* #'*use-outer-cache* #'retro/*revision*] f))

0 comments on commit 2f4c909

Please sign in to comment.