Permalink
Browse files

Merge pull request #4 from rosejn/develop

fixing argument order bug in filter-edges
  • Loading branch information...
2 parents b7719e1 + 2f4c909 commit ae20ff297f4fa6c0805fea5b6497d2d054c5ef62 @ninjudd committed Jun 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jiraph/graph.clj
@@ -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 ae20ff2

Please sign in to comment.