Skip to content

Commit

Permalink
Merge pull request #4 from rosejn/develop
Browse files Browse the repository at this point in the history
fixing argument order bug in filter-edges
  • Loading branch information
ninjudd committed Jun 22, 2011
2 parents b7719e1 + 2f4c909 commit ae20ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jiraph/graph.clj
Expand Up @@ -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."
Expand Down Expand Up @@ -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.