Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #4 from rosejn/develop

fixing argument order bug in filter-edges
  • Loading branch information...
commit ae20ff297f4fa6c0805fea5b6497d2d054c5ef62 2 parents b7719e1 + 2f4c909
@ninjudd authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jiraph/graph.clj
4 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."
(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))
Please sign in to comment.
Something went wrong with that request. Please try again.