diff options
author | Mark Engelberg <mark.engelberg@gmail.com> | 2009-03-03 04:16:16 +0000 |
---|---|---|
committer | Mark Engelberg <mark.engelberg@gmail.com> | 2009-03-03 04:16:16 +0000 |
commit | e775476bcbf76db069dd71750fa64aa31111d785 (patch) | |
tree | de441a6690deaa38b00c5eb6d442b2f9bc2c7200 /src/clojure/contrib/combinatorics.clj | |
parent | 82f5ad11ff5d75f19de6bf5cfcf33b571592c89e (diff) |
Removed extra parenthesis.
Diffstat (limited to 'src/clojure/contrib/combinatorics.clj')
-rw-r--r-- | src/clojure/contrib/combinatorics.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/combinatorics.clj b/src/clojure/contrib/combinatorics.clj index 3f7ec141..35cca059 100644 --- a/src/clojure/contrib/combinatorics.clj +++ b/src/clojure/contrib/combinatorics.clj @@ -150,7 +150,7 @@ On my own computer, I use versions of all these algorithms that return sequences (let [vec-sorted (vec (sort c))]
(if (zero? (count vec-sorted))
(list [])
- (vec-lex-permutations vec-sorted))))))
+ (vec-lex-permutations vec-sorted)))))
(defn permutations
"All the permutations of items, lexicographic by index"
|